Permalink
Newer
Older
100644 63 lines (56 sloc) 2.63 KB
Aug 25, 2016 @michaelhush Upgrade to 2.0.0
1 '''
2 Setup script for M-LOOP using setuptools. See the documentation of setuptools for further details.
3 '''
Sep 10, 2016 @michaelhush Added python 2 backward compatability
4 from __future__ import absolute_import, division, print_function
5
Sep 14, 2016 @michaelhush Fixed windows setuptools multiprocessing issues
6 import multiprocessing as mp
Aug 25, 2016 @michaelhush Upgrade to 2.0.0
7 import mloop as ml
Sep 1, 2016 @michaelhush Small update for documentation issues with read the docs
8
Aug 25, 2016 @michaelhush Upgrade to 2.0.0
9 from setuptools import setup, find_packages
10
Sep 14, 2016 @michaelhush Fixed windows setuptools multiprocessing issues
11 def main():
12 setup(
13 name = 'M-LOOP',
14 version = ml.__version__,
15 packages = find_packages(),
Oct 4, 2016 @michaelhush Command Line now supported on Windows
16 entry_points={
17 'console_scripts': [
18 'M-LOOP = mloop.cmd:run_mloop'
19 ],
20 },
Sep 14, 2016 @michaelhush Fixed windows setuptools multiprocessing issues
21
22 setup_requires=['pytest-runner'],
Oct 22, 2016 @charmasaur Fix setup syntax error
23 install_requires = ['pip>=7.0',
Oct 4, 2016 @michaelhush Added pip requires to setuptools
24 'docutils>=0.3',
Oct 4, 2016 @michaelhush scikit-learn now required
25 'numpy>=1.11',
26 'scipy>=0.17',
27 'matplotlib>=1.5',
28 'pytest>=2.9',
29 'scikit-learn>=0.18'],
Sep 14, 2016 @michaelhush Fixed windows setuptools multiprocessing issues
30 tests_require=['pytest','setuptools>=26'],
31
32 package_data = {
33 # If any package contains *.txt or *.rst files, include them:
34 '': ['*.txt','*.md'],
35 },
36 author = 'Michael R Hush',
37 author_email = 'MichaelRHush@gmail.com',
38 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.',
39 license = 'MIT',
40 keywords = 'automated machine learning optimization optimisation science experiment quantum',
41 url = 'https://github.com/michaelhush/M-LOOP/',
Nov 4, 2016 @michaelhush v2.1.1 Candidate
42 download_url = 'https://github.com/michaelhush/M-LOOP/tarball/v2.1.1',
Sep 14, 2016 @michaelhush Fixed windows setuptools multiprocessing issues
43
44 classifiers = ['Development Status :: 2 - Pre-Alpha',
45 'Intended Audience :: Science/Research',
46 'Intended Audience :: Manufacturing',
47 'License :: OSI Approved :: MIT License',
48 'Natural Language :: English',
49 'Operating System :: MacOS :: MacOS X',
50 'Operating System :: POSIX :: Linux',
51 'Operating System :: Microsoft :: Windows',
52 'Programming Language :: Python :: 2.7',
53 'Programming Language :: Python :: 3.4',
54 'Programming Language :: Python :: 3.5',
55 'Programming Language :: Python :: Implementation :: CPython',
56 'Topic :: Scientific/Engineering',
57 'Topic :: Scientific/Engineering :: Artificial Intelligence',
58 'Topic :: Scientific/Engineering :: Physics']
59 )
Aug 25, 2016 @michaelhush Upgrade to 2.0.0
60
Sep 14, 2016 @michaelhush Fixed windows setuptools multiprocessing issues
61 if __name__=='__main__':
62 mp.freeze_support()
63 main()