forked from MultiAgentLearning/playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (42 loc) · 1.42 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
import sys
from setuptools import setup, find_packages
CURRENT_PYTHON = sys.version_info[:2]
MIN_PYTHON = (3, 6)
if CURRENT_PYTHON < MIN_PYTHON:
sys.stderr.write("""
============================
Unsupported Python Version
============================
Python {}.{} is unsupported. Please use a version newer than Python {}.{}.
""".format(*CURRENT_PYTHON, *MIN_PYTHON))
sys.exit(1)
with open('requirements.txt', 'r') as f:
install_requires = f.readlines()
with open('requirements_extra.txt', 'r') as f:
extras_require = f.readlines()
with open('VERSION') as f:
VERSION = f.read().strip()
files = ["resources/*"]
setup(name='pommerman',
version=VERSION,
description='PlayGround: AI Research into Multi-Agent Learning',
url='https://www.pommerman.com',
author='Pommerman',
author_email='support@pommerman.com',
license='Apache 2.0',
classifiers=[
'Programming Language :: Python :: 3.6',
],
packages=find_packages(),
package_data = {'pommerman' : files },
install_requires=install_requires,
extras_require={
'extras': extras_require # @TODO this might need refinement
},
entry_points={
'console_scripts': [
'pom_battle=pommerman.cli.run_battle:main',
'pom_tf_battle=pommerman.cli.train_with_tensorforce:main',
],
},
zip_safe=False)