-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
68 lines (63 loc) · 1.76 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
"""A setuptools based setup module.
See:
https://packaging.python.org/tutorials/distributing-packages/
https://github.com/pypa/sampleproject
"""
import sys
# Always prefer setuptools over distutils
from setuptools import setup
VERSION = '0.1.13.3'
# Install Cython
try:
import Cython
except ImportError:
#import pip
# For installing Cython due to pip.main removal in Pip10
import subprocess
errno = subprocess.call([sys.executable, '-m', 'pip', 'install', 'cython'])
if errno:
print("Please install Cython.")
raise SystemExit(errno)
else:
import Cython
from Cython.Build import cythonize
from Cython.Distutils import build_ext
setup(
name='pymeda',
version=VERSION,
description='Matrix Exploratory Data Analysis',
url='https://github.com/neurodata-nomads/pymeda',
author='Jaewon Chung',
author_email='[email protected]',
license='MIT',
keywords='data visualization analysis',
packages=['pymeda'], # Required
setup_requires=['Cython'],
install_requires=[
'Cython',
'jinja2',
'ipykernel',
'pandas',
'numpy',
'scipy',
'plotly==2.2.2',
'matplotlib',
'colorlover',
'scikit-learn',
'knor==0.0.1',
],
package_data={
'pymeda': ['*.html'],
},
include_package_data=True,
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Visualization',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
])