setup.py 1.59 KB
Newer Older
spmohanty's avatar
spmohanty committed
1
2
3
4
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""The setup script."""
5
import os
spmohanty's avatar
spmohanty committed
6
7
8
9
10
11
12
13
from setuptools import setup, find_packages

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

14
15
16
17
18
19
20
21
22
23
24
25
26
# Gather requirements from requirements_dev.txt
# TODO : We could potentially split up the test/dev dependencies later
install_reqs = []
requirements_path = 'requirements_dev.txt'
with open(requirements_path, 'r') as f:
    install_reqs += [
        s for s in [
            line.strip(' \n') for line in f
        ] if not s.startswith('#') and s != ''
    ]
requirements = install_reqs
setup_requirements = install_reqs
test_requirements = install_reqs
spmohanty's avatar
spmohanty committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

setup(
    author="S.P. Mohanty",
    author_email='mohanty@aicrowd.com',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    description="Multi Agent Reinforcement Learning on Trains",
    entry_points={
        'console_scripts': [
            'flatland=flatland.cli:main',
        ],
    },
    install_requires=requirements,
    long_description=readme + '\n\n' + history,
    include_package_data=True,
    keywords='flatland',
48
    name='flatland-rl',
spiglerg's avatar
spiglerg committed
49
    packages=find_packages('.'),
spmohanty's avatar
spmohanty committed
50
51
52
    setup_requires=setup_requirements,
    test_suite='tests',
    tests_require=test_requirements,
53
    url='https://gitlab.aicrowd.com/flatland/flatland',
spmohanty's avatar
spmohanty committed
54
    version='0.1.1',
spmohanty's avatar
spmohanty committed
55
56
    zip_safe=False,
)