-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (48 loc) · 1.43 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
import os
import setuptools
pkg = 'kvaser'
with open('README.md', 'r') as fh:
long_description = fh.read()
base_dir = os.path.dirname(__file__)
about = {}
with open(os.path.join(base_dir, 'src', pkg, '__about__.py')) as f:
exec(f.read(), about)
setuptools.setup(
name=about['__name__'],
version=about['__version__'],
author=about['__author__'],
author_email=about['__email__'],
url=about['__url__'],
description=about['__description__'],
long_description_content_type='text/markdown',
long_description=long_description,
packages=setuptools.find_packages('src'),
package_dir={'': 'src'},
zip_safe=False,
license=about['__license__'],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: C++',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent'
],
scripts=list(map(lambda x: 'bin/'+x, os.listdir('bin'))),
install_requires=[
'azure-storage-blob>=12.0',
'datetime',
'networkx',
'numpy>=1.15',
'pandas>=1.0.3',
'patsy>=0.5.0',
'Pillow',
'plotly>=5.1.0',
'pytz',
'pydot',
'rich',
'scikit-learn>=1.1.0'
],
package_data={pkg: ['data/*.dat', 'data/*.gz']},
tests_require=['pytest'],
)