-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
58 lines (49 loc) · 1.46 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
def read(fname):
"""Reads a file's contents as a string.
Args:
fname (str): Filename.
Returns:
File's contents (str).
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
BASE_URL = "https://github.com/anassinator/pddp"
INSTALL_REQUIRES = [
"gym==0.10.*",
"numpy>=1.14.0",
"six>=1.11.0",
"torch==0.4.1",
"tqdm==4.25.*",
"enum34",
]
# Parse version information.
# yapf: disable
version_info = {}
exec(read("pddp/__version__.py"), version_info)
version = version_info["__version__"]
# yapf: enable
setup(
name="pddp",
version=version,
description="Probabilistic Differential Dynamic Programming library",
long_description=read("README.rst"),
author="Anass Al",
author_email="dev@anassinator.com",
license="GPLv3",
url=BASE_URL,
download_url="{}/tarball/{}".format(BASE_URL, version),
packages=find_packages(),
zip_safe=True,
install_requires=INSTALL_REQUIRES,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
])