forked from sintel-dev/Orion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
125 lines (109 loc) · 2.96 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
try:
with open('README.md', encoding='utf-8') as readme_file:
readme = readme_file.read()
except IOError:
readme = ''
try:
with open('HISTORY.md', encoding='utf-8') as history_file:
history = history_file.read()
except IOError:
history = ''
install_requires = [
's3fs>=0.2.2,<0.5',
'mlblocks>=0.3.3,<0.4',
'mlprimitives>=0.2.2,<0.3',
'mongoengine>=0.20.0,<0.25',
'numpy>=1.16,<1.17',
'pandas>=0.23.4,<0.25',
'pymongo>=3.7.2,<4',
'scikit-learn>=0.20.1,<0.21',
'tabulate>=0.8.3,<0.9',
'Keras>=2.1.6,<2.4',
'numba>=0.48,<0.52',
'pyts>=0.9,<0.11',
'azure-cognitiveservices-anomalydetector>=0.3,<0.4',
'xlsxwriter>=1.3.6<1.4',
# fix conflict
'h5py<2.11.0,>=2.10.0',
]
setup_requires = [
'pytest-runner>=2.11.1',
]
tests_require = [
'pytest>=3.4.2',
'pytest-cov>=2.6.0',
'rundoc>=0.4.3,<0.5',
]
development_requires = [
# general
'pip>=9.0.1',
'bumpversion>=0.5.3,<0.6',
'watchdog>=0.8.3,<0.11',
# docs
'm2r2>=0.2.5,<0.3',
'nbsphinx>=0.5.0,<0.7',
'Sphinx>=3,<3.3',
'pydata-sphinx-theme',
'autodocsumm>=0.1.10,<1',
'ipython>=6.5,<7.5',
# style check
'flake8>=3.7.7,<4',
'isort>=4.3.4,<5',
# fix style issues
'autoflake>=1.2,<2',
'autopep8>=1.4.3,<2',
# distribute on PyPI
'twine>=1.10.0,<4',
'wheel>=0.30.0',
# Advanced testing
'coverage>=4.5.1,<6',
'tox>=2.9.1,<4',
'invoke',
# Documentation style
'pydocstyle==3.0.0,<4',
]
setup(
author="MIT Data To AI Lab",
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="Orion is a machine learning library built for data generated by satellites.",
entry_points={
'console_scripts': [
'orion=orion.cli:main'
],
'mlblocks': [
'primitives=orion:MLBLOCKS_PRIMITIVES',
'pipelines=orion:MLBLOCKS_PIPELINES'
],
},
extras_require={
'test': tests_require,
'dev': development_requires + tests_require,
},
include_package_data=True,
install_requires=install_requires,
keywords='orion',
license="MIT license",
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
name='orion-ml',
packages=find_packages(include=['orion', 'orion.*']),
python_requires='>=3.6,<3.8',
setup_requires=setup_requires,
test_suite='tests',
tests_require=tests_require,
url='https://github.com/sintel-dev/Orion',
version='0.2.1.dev0',
zip_safe=False,
)