-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
executable file
·69 lines (61 loc) · 1.82 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
from setuptools import setup
import os
import io
NAME = 'GPTune'
DESCRIPTION = ''
here = os.path.abspath(os.path.dirname(__file__))
# Load the package's __version__.py module as a dictionary.
about = dict()
with open(os.path.join(here, NAME, '__version__.py')) as f:
exec(f.read(), about)
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
REQUIRED=[]
EXTRAS = {
'all': [
'Sphinx>=1.8.2',
'sphinx_rtd_theme',
'statsmodels >= 0.13.0',
'numpy',
'joblib',
'scikit-learn <= 0.22',
'scipy',
'pyaml',
'matplotlib',
'GPy',
'openturns',
'lhsmdu',
'ipyparallel',
'opentuner >= 0.8.8',
'hpbandster',
'pygmo<=2.16.1',
'filelock',
'requests',
'pymoo',
'cloudpickle',
'SALib',
'scikit-optimize @ git+https://[email protected]/gptune/scikit-optimize.git',
'ytopt-autotune @ git+https://[email protected]/gptune/autotune.git',
'cgp @ git+https://[email protected]/gptune/cGP.git',
'hybridMinimization @ git+https://[email protected]/gptune/hybridMinimization.git',
],
}
setup(
name=NAME,
version=about['__version__'],
license='BSD',
author="Yang Liu",
author_email='[email protected]',
description=DESCRIPTION,
packages=['GPTune'],
url='https://github.com/gptune/GPTune',
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
package_data = {'GPTune': ['lib_*']}
)