forked from nkansal96/alohamora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (52 loc) · 2.09 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
""" Define the setup instructions for this package """
import os
import setuptools
def version():
""" Returns the version from blaze.__version__ """
from blaze.__version__ import __version__ as blaze_version
return blaze_version
def long_description():
""" Returns the README as the long descripion for this package """
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
return '\n' + f.read()
def requirements():
""" Returns the requirements.txt file as the install_requires for this package """
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
return list(map(lambda line: line.strip(), f))
setuptools.setup(
name='blaze',
version=version(),
description='Automated push policy generation via reinforcement learning',
long_description=long_description(),
long_description_content_type='text/markdown',
author='Nikhil Kansal',
author_email='[email protected]',
requires_python='>=3.6.0',
url='https://github.com/nkansal96/blaze',
packages=setuptools.find_packages(exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
install_requires=requirements(),
include_package_data=True,
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: System :: Distributed Computing',
'Typing :: Typed',
],
scripts=[
'bin/blaze',
],
)