-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
59 lines (53 loc) · 2.58 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
import setuptools
import subprocess
import sys
# Install complete dask library for handling big data sets using parallel computing:
subprocess.run(['python{} -m pip install "dask[distributed]"'.format('3' if sys.platform.find('win') != 0 else '')], shell=True)
subprocess.run(['python{} -m pip install "dask[complete]"'.format('3' if sys.platform.find('win') != 0 else '')], shell=True)
# Install jupyter notebook extensions for using EasyExplore_examples.ipynb more conveniently:
subprocess.run(['python{} -m pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install'.format('3' if sys.platform.find('win') != 0 else '')], shell=True)
with open('README.md', 'r') as _read_me:
long_description = _read_me.read()
with open('requirements.txt', 'r') as _requirements:
requires = _requirements.read()
requires = [r.strip() for r in requires.split('\n') if ((r.strip()[0] != "#") and (len(r.strip()) > 3) and "-e git://" not in r)]
setuptools.setup(
name='easyexplore',
version='0.7.3',
author='Gianni Francesco Balistreri',
author_email='[email protected]',
description='Toolbox for easy and effective data exploration',
long_description=long_description,
long_description_content_type='text/markdown',
keywords='data-exploration interactive-visualization plotly machine-learning',
license='GNU',
url='https://github.com/GianniBalistreri/easyexplore',
include_package_data=True,
packages=setuptools.find_packages(),
package_data={'easyexplore': ['LICENSE',
'README.md',
'requirements.txt',
'setup.py',
'EasyExplore_examples.ipynb'
]
},
data_file=[('test', ['test/test_anomaly_detector.py',
'test/test_data.csv',
'test/test_data_explorer.py',
'test/test_data_import_export.py',
'test/test_data_visualizer.py',
'test/test_interactive_visualizer.py',
'test/test_unsupervised_machine_learning.py',
'test/test_utils.py'
]
)],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
install_requires=requires
)