forked from titu1994/pyshac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (51 loc) · 2.08 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
from setuptools import setup, find_packages
import re
import os
import io
this_directory = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_version(package):
"""Return package version as listed in `__version__` in `init.py`."""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
setup(
name='pyshac',
version=get_version("pyshac"),
packages=find_packages(),
url='https://github.com/titu1994/pyshac',
download_url='https://github.com/titu1994/pyshac',
license='MIT',
author='Somshubra Majumdar',
author_email='[email protected]',
description='Python library which implements Successive Halving and Classification algorithm',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=['numpy>=1.16.2',
'scikit-learn>=0.20.3',
'pandas>=0.23.4',
'joblib>=0.13.2',
'loky>=2.4.2',
'cloudpickle>=1.1.1',
'six>=1.11.0',
'xgboost==0.80; python_version < "3.0"',
'xgboost>=0.90; python_version > "3.0"',
'matplotlib>=3.0.0; python_version > "3.0"'],
extras_require={
'tests': ['pytest', 'coverage', 'pytest-cov', 'codecov', 'matplotlib'],
},
classifiers=(
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
),
zip_safe=False,
test_suite="tests",
)