-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·49 lines (42 loc) · 1.1 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·49 lines (42 loc) · 1.1 KB
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
from setuptools import setup
import os
import io
NAME = 'cGP'
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',
'numpy',
'GPy',
'scikit-learn', # Is version 0.22.1 needed here?
'scikit-optimize',
'scipy',
'dill',
],
}
setup(
name=NAME,
version=about['__version__'],
license='BSD',
author="Hengrui Luo",
author_email='hrluo@lbl.gov',
description=DESCRIPTION,
packages=['cGP'],
url='https://github.com/gptune/cGP',
install_requires=REQUIRED,
extras_require=EXTRAS,
)