-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
59 lines (54 loc) · 1.57 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
51
52
53
54
55
56
57
58
59
import os
from setuptools import setup, find_packages
if os.path.isfile('VERSION'):
with open('VERSION') as f:
VERSION = f.read()
else:
VERSION = os.environ.get('TRAVIS_PULL_REQUEST_BRANCH') or \
os.environ.get('TRAVIS_BRANCH') or \
'0.0.dev0'
with open('README.rst') as f:
README = f.read()
setup(name='torchrl',
description='Reinforcement Learning for PyTorch',
long_description=README,
long_description_content_type='text/x-rst',
version=VERSION,
url='https://torchrl.sanyamkapoor.com',
author='Sanyam Kapoor',
license='Apache License 2.0',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
packages=find_packages(exclude=[
'examples',
'examples.*'
]),
python_requires='>=3.6',
install_requires=[
'gym',
'kondo',
'numpy',
'torch',
'tensorflow',
'tqdm',
],
extras_require={
'test': [
'pylint>=2.2',
'pytest>=4.2',
],
'docs': [
'sphinx>=1.8',
'sphinx-rtd-theme>=0.4',
'sphinxcontrib-napoleon>=0.7',
'm2r>=0.2.0',
'sphinxcontrib-programoutput>=0.11',
]
}
)