forked from michaelhush/M-LOOP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (69 loc) · 2.83 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
70
71
72
73
74
'''
Setup script for M-LOOP using setuptools. See the documentation of setuptools for further details.
'''
from __future__ import absolute_import, division, print_function
import multiprocessing as mp
import mloop as ml
from setuptools import setup, find_packages
from os import path
def main():
long_description = ''
here = path.abspath(path.dirname(__file__))
description_path = path.join(here, 'DESCRIPTION.rst')
if path.exists(description_path):
with open(description_path, 'rb') as stream:
long_description = stream.read().decode('utf8')
setup(
name = 'M-LOOP',
version = ml.__version__,
packages = find_packages(),
entry_points={
'console_scripts': [
'M-LOOP = mloop.cmd:run_mloop'
],
},
setup_requires=['pytest-runner'],
install_requires = [
'pip>=7.0',
'docutils>=0.3',
'numpy>=1.11',
'scipy>=0.17',
'matplotlib>=1.5',
'pytest>=2.9',
'scikit-learn>=0.18',
'tensorflow>=2.0.0',
],
tests_require=['pytest', 'setuptools>=26'],
package_data = {
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt','*.md'],
},
author = 'Michael R Hush',
author_email = '[email protected]',
description = 'M-LOOP: Machine-learning online optimization package. A python package of automated optimization tools - enhanced with machine-learning - for quantum scientific experiments, computer controlled systems or other optimization tasks.',
long_description = long_description,
license = 'MIT',
keywords = 'automated machine learning optimization optimisation science experiment quantum',
url = 'https://github.com/michaelhush/M-LOOP/',
download_url = 'https://github.com/michaelhush/M-LOOP/tarball/v3.3.2',
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Manufacturing',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Physics',
],
)
if __name__=='__main__':
mp.freeze_support()
main()