2019-09-05 15:29:41 +00:00
|
|
|
import sys
|
|
|
|
|
import subprocess
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup(name='torchy_baselines',
|
|
|
|
|
packages=[package for package in find_packages()
|
|
|
|
|
if package.startswith('torchy_baselines')],
|
|
|
|
|
install_requires=[
|
|
|
|
|
'gym[classic_control]>=0.10.9',
|
|
|
|
|
'numpy',
|
2019-09-20 13:19:04 +00:00
|
|
|
'torch>=1.2.0',
|
|
|
|
|
'cloudpickle'
|
2019-09-05 15:29:41 +00:00
|
|
|
],
|
|
|
|
|
extras_require={
|
|
|
|
|
'tests': [
|
|
|
|
|
'pytest',
|
|
|
|
|
'pytest-cov',
|
|
|
|
|
'pytest-env',
|
|
|
|
|
'pytest-xdist',
|
2020-01-22 15:18:27 +00:00
|
|
|
'pytype',
|
2019-09-05 15:29:41 +00:00
|
|
|
],
|
|
|
|
|
'docs': [
|
|
|
|
|
'sphinx',
|
|
|
|
|
'sphinx-autobuild',
|
2020-01-20 15:19:35 +00:00
|
|
|
'sphinx-rtd-theme',
|
|
|
|
|
# For spelling
|
2020-01-22 16:51:27 +00:00
|
|
|
'sphinxcontrib.spelling',
|
|
|
|
|
# Type hints support
|
|
|
|
|
'sphinx-autodoc-typehints'
|
2020-01-08 10:26:57 +00:00
|
|
|
],
|
2020-01-20 10:58:00 +00:00
|
|
|
'extra': [
|
|
|
|
|
# For render
|
|
|
|
|
'opencv-python',
|
|
|
|
|
# For reading logs
|
|
|
|
|
'pandas'
|
2019-09-05 15:29:41 +00:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
description='Pytorch version of Stable Baselines, implementations of reinforcement learning algorithms.',
|
|
|
|
|
author='Antonin Raffin',
|
|
|
|
|
url='',
|
|
|
|
|
author_email='antonin.raffin@dlr.de',
|
|
|
|
|
keywords="reinforcement-learning-algorithms reinforcement-learning machine-learning "
|
|
|
|
|
"gym openai stable baselines toolbox python data-science",
|
|
|
|
|
license="MIT",
|
|
|
|
|
long_description="",
|
|
|
|
|
long_description_content_type='text/markdown',
|
2020-01-20 15:19:35 +00:00
|
|
|
version="0.2.0a0",
|
2019-09-05 15:29:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# python setup.py sdist
|
|
|
|
|
# python setup.py bdist_wheel
|
|
|
|
|
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
|
|
|
|
# twine upload dist/*
|