|
| 1 | +"""slots: a multi-armed bandit library for Python |
| 2 | +See: |
| 3 | +https://github.com/roycoding/slots |
| 4 | +""" |
| 5 | + |
| 6 | +from setuptools import setup, find_packages |
| 7 | +from codecs import open |
| 8 | +from os import path |
| 9 | + |
| 10 | +here = path.abspath(path.dirname(__file__)) |
| 11 | + |
| 12 | +# Get the long description from the README file |
| 13 | +with open(path.join(here, 'README.md'), encoding='utf-8') as f: |
| 14 | + long_description = f.read() |
| 15 | + |
| 16 | +setup( |
| 17 | + name='slots', |
| 18 | + |
| 19 | + version='0.1.0', |
| 20 | + |
| 21 | + description='A multi-armed bandit library for Python', |
| 22 | + long_description=long_description, |
| 23 | + |
| 24 | + # The project's main homepage. |
| 25 | + url='https://github.com/roycoding/slots', |
| 26 | + |
| 27 | + # Author details |
| 28 | + author='Roy Keyes', |
| 29 | + |
| 30 | + |
| 31 | + # Choose your license |
| 32 | + license='BSD', |
| 33 | + |
| 34 | + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 35 | + classifiers=[ |
| 36 | + # How mature is this project? Common values are |
| 37 | + # 3 - Alpha |
| 38 | + # 4 - Beta |
| 39 | + # 5 - Production/Stable |
| 40 | + 'Development Status :: 3 - Alpha', |
| 41 | + |
| 42 | + # Indicate who your project is intended for |
| 43 | + 'Intended Audience :: Developers', |
| 44 | + 'Intended Audience :: Science/Research', |
| 45 | + 'Topic :: Scientific/Engineering', |
| 46 | + |
| 47 | + # Pick your license as you wish (should match "license" above) |
| 48 | + 'License :: OSI Approved :: BSD License', |
| 49 | + |
| 50 | + # Specify the Python versions you support here. In particular, ensure |
| 51 | + # that you indicate whether you support Python 2, Python 3 or both. |
| 52 | + 'Programming Language :: Python :: 2.7', |
| 53 | + 'Programming Language :: Python :: 3.4', |
| 54 | + 'Programming Language :: Python :: 3.5', |
| 55 | + ], |
| 56 | + |
| 57 | + # What does your project relate to? |
| 58 | + keywords='multi-armed bandit hypothesis testing', |
| 59 | + |
| 60 | + # You can just specify the packages manually here if your project is |
| 61 | + # simple. Or you can use find_packages(). |
| 62 | + packages=find_packages(exclude=['contrib', 'docs', 'tests']), |
| 63 | + |
| 64 | + # Alternatively, if you want to distribute just a my_module.py, uncomment |
| 65 | + # this: |
| 66 | + # py_modules=["my_module"], |
| 67 | + |
| 68 | + # List run-time dependencies here. These will be installed by pip when |
| 69 | + # your project is installed. For an analysis of "install_requires" vs pip's |
| 70 | + # requirements files see: |
| 71 | + # https://packaging.python.org/en/latest/requirements.html |
| 72 | + install_requires=['numpy'], |
| 73 | +) |
0 commit comments