forked from INM-6/python-gymz
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (42 loc) · 1.28 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
# -*- coding: utf-8 -*-
import re
from setuptools import setup
# determine version from __init__.py without importing it
with open('./gymz/__init__.py', 'r') as f:
for l in f:
if '__version__' in l:
try:
version = re.compile('[0-9]+.[0-9]+.[0-9]+').search(l).group()
except AttributeError:
raise ValueError('Could not determine package version.')
else:
break
setup(
name='gymz',
version=version,
author='Jakob Jordan, Philipp Weidel',
author_email='[email protected]',
description=('A light-weight ZeroMQ wrapper for the OpenAI Gym.'),
license='MIT',
keywords='openai-gym reinforcement-learning zeromq zmq',
url='https://github.com/INM-6/python-gymz',
packages=['gymz'],
package_data={
'gymz': ['DefaultConfig.json']
},
scripts=['gymz-controller'],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering',
],
install_requires=[
'docopt',
'gym>=0.8.1',
'numpy',
'pyzmq',
]
)