-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
65 lines (55 loc) · 1.84 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Installation script for `orion.algo.nomad`."""
import os
from setuptools import setup
import versioneer
repo_root = os.path.dirname(os.path.abspath(__file__))
tests_require = ['pytest>=3.0.0']
setup_args = dict(
name='orion.algo.nomad',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='TODO',
long_description=open(os.path.join(repo_root, "README.rst")).read(),
license='BSD-3-Clause',
author=u'Christophe Tribes',
author_email='[email protected]',
url='https://github.com/ctribes/orion.algo.nomad',
packages=['orion.algo.nomad'],
package_dir={'': 'src'},
include_package_data=True,
entry_points={
'OptimizationAlgorithm': [
'nomad_nomad = orion.algo.nomad.nomad:nomad'
],
},
install_requires=['orion>=0.1.11', 'numpy'],
tests_require=tests_require,
setup_requires=['setuptools', 'pytest-runner>=3.0.0'],
extras_require=dict(test=tests_require),
# "Zipped eggs don't play nicely with namespace packaging"
# from https://github.com/pypa/sample-namespace-packages
zip_safe=False
)
setup_args['keywords'] = [
'Machine Learning',
'Deep Learning',
'Distributed',
'Optimization',
]
setup_args['platforms'] = ['Linux']
setup_args['classifiers'] = [
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GPU GPLv3',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
] + [('Programming Language :: Python :: %s' % x)
for x in '3 3.5 3.6 3.7'.split()]
if __name__ == '__main__':
setup(**setup_args)