forked from thomas-young-2013/mindware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (31 loc) · 1.25 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
import sys
import pathlib
from setuptools import setup, find_packages
with open('requirements.txt') as fp:
install_reqs = [r.rstrip() for r in fp.readlines()
if not r.startswith('#') and not r.startswith('git+')]
if sys.version_info < (3, 5, 2):
raise ValueError("Soln-ML requires Python 3.5.2 or newer.")
if sys.version_info < (3, 6, 0):
# NumPy 1.19.x doesn't support Python 3.5, only 3.6-3.8.
install_reqs.remove('numpy>=1.9.0')
install_reqs.append('numpy>=1.9.0,<=1.18.4')
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setup(name='soln-ml',
version='1.0.2',
long_description=README,
long_description_content_type="text/markdown",
description='Soln-ML: Towards Self-Improving AutoML System.',
author='AutoML Researcher @ DAIM',
author_email='liyang.cs@pku.edu.cn',
url='https://github.com/thomas-young-2013/soln-ml',
keywords='AutoML,machine learning',
packages=find_packages(exclude=['docs', 'examples', 'test']),
license='LICENSE.txt',
test_suite='nose.collector',
python_requires='>=3.5.*',
include_package_data=True,
install_requires=install_reqs)