-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (46 loc) · 1.67 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
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
exec(open('ml2rt/version.py').read())
requirements = []
extras_require = {
'tensorflow': ['tensorflow'],
'pytorch': ['torch'],
'sklearn': ['sklearn', 'skl2onnx', 'pandas', 'onnxmltools', 'onnxconverter_common', 'numpy'],
'sparkml': ['pyspark', 'onnxmltools', 'onnxconverter_common', 'numpy'],
'onnx': ['onnx'],
'all': []
}
for packages in extras_require.values():
extras_require['all'].extend(packages)
setup_requirements = ['pytest-runner', ]
test_requirements = ['pytest', ]
setup(
author="Sherin Thomas",
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="Machine learning utilities for model conversion, serialization, loading etc",
install_requires=requirements,
extras_require=extras_require,
license="Apache Software License 2.0",
long_description=readme + '\n\n',
include_package_data=True,
keywords='ml2rt',
name='ml2rt',
packages=find_packages(include=['ml2rt']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/hhsecond/ml2rt',
version=__version__, # comes from ml2rt/version.py
zip_safe=False,
)