* re-setting up travis * re-setting up travis * resolved merge conflicts, added missing dependency for codegen * removed parallel tests (workers are failing for some reason) * try test baselines only * added language options - some weirdness in rcall image that requires them? * added verbosity to tests * try tests in baselines only * ci/runtests.sh tests codegen (some failure on baselines specifically on travis, trying to narrow down the problem) * removed render from codegen test - maybe that's the problem? * trying even simpler command within the image to figure out the problem * print out system info in ci/runtests.sh * print system info outside of docker as well * trying single test file in codegen * install graphviz in the docker image * git subrepo pull baselines subrepo: subdir: "baselines" merged: "8c2aea2" upstream: origin: "git@github.com:openai/baselines.git" branch: "master" commit: "8c2aea2" git-subrepo: version: "0.4.0" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "74339e8" * added graphviz to the dockerfile (need both graphviz-dev and graphviz) * only tests in codegen/algo/test_algo_builder.py * run baselines tests only. still no clue why collection of codegen tests fails * update baselines setup to install filelock for tests * run slow tests * skip slow tests in baselines * single test file in baselines * try reinstalling tensorflow * running slow tests * try full baselines and codegen test suite * in the test Dockerfile, reinstall tensorflow * using fake display for codegen render tests * fixed display-related failures by adding a custom entrpoint to the docker image * set LC_ALL and LANG env variables in docker image * try sequential tests * include psutil in requirements; increase relative tolerance in test_low_level_algo_distr * trying to fix codegen failures on travis * git subrepo commit (merge) baselines subrepo: subdir: "baselines" merged: "9ce84da" upstream: origin: "git@github.com:openai/baselines.git" branch: "master" commit: "b222dd0" git-subrepo: version: "0.4.0" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "74339e8" * syntax in install.py * changing the order of package installation * removed supervised-reptile from installation list * cron uses the full games repo in rcall * flake8 complaints * rewrite all extras logic in baselines, install.py always uses [all]
46 lines
1.1 KiB
Python
46 lines
1.1 KiB
Python
from setuptools import setup, find_packages
|
|
from functools import reduce
|
|
import sys
|
|
|
|
if sys.version_info.major != 3:
|
|
print('This Python is only compatible with Python 3, but you are running '
|
|
'Python {}. The installation will likely fail.'.format(sys.version_info.major))
|
|
|
|
|
|
extras = {
|
|
'test': [
|
|
'filelock',
|
|
'pytest'
|
|
]
|
|
}
|
|
|
|
|
|
all_deps = []
|
|
for group_name in extras:
|
|
all_deps += extras[group_name]
|
|
|
|
extras['all'] = all_deps
|
|
|
|
setup(name='baselines',
|
|
packages=[package for package in find_packages()
|
|
if package.startswith('baselines')],
|
|
install_requires=[
|
|
'gym[mujoco,atari,classic_control,robotics]',
|
|
'scipy',
|
|
'tqdm',
|
|
'joblib',
|
|
'dill',
|
|
'progressbar2',
|
|
'mpi4py',
|
|
'cloudpickle',
|
|
'tensorflow>=1.4.0',
|
|
'click',
|
|
'opencv-python'
|
|
],
|
|
extras_require=extras,
|
|
description='OpenAI baselines: high quality implementations of reinforcement learning algorithms',
|
|
author='OpenAI',
|
|
url='https://github.com/openai/baselines',
|
|
author_email='gym@openai.com',
|
|
version='0.1.5')
|