-
Notifications
You must be signed in to change notification settings - Fork 80
/
setup.py
30 lines (26 loc) · 886 Bytes
/
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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
env_assets = package_files('robosumo/envs/assets')
policy_assets = package_files('robosumo/policy_zoo/assets')
setup(
name='robosumo',
version='0.0.1.dev',
packages=find_packages(),
description='RoboSumo MuJoCo environments with Gym API.',
long_description=read('README.md'),
url='https://github.com/openai/robosumo',
install_requires=[
'click', 'gym', 'mujoco_py>=1.5', 'numpy', 'tensorflow>=1.1.0',
],
package_data={
'robosumo': env_assets + policy_assets,
},
)