-
Notifications
You must be signed in to change notification settings - Fork 80
/
setup.py
56 lines (47 loc) · 1.47 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
#!/usr/bin/env python
"""iLQR setup."""
import os
from setuptools import setup, find_packages
def read(fname):
"""Reads a file's contents as a string.
Args:
fname: Filename.
Returns:
File's contents.
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
BASE_URL = "https://github.com/anassinator/ilqr"
INSTALL_REQUIRES = [
"numpy>=1.16.3",
"scipy>=1.2.1",
"six>=1.12.0",
"Theano>=1.0.4",
]
# Parse version information.
# yapf: disable
version_info = {}
exec(read("ilqr/__version__.py"), version_info)
version = version_info["__version__"]
# yapf: enable
setup(name="ilqr",
version=version,
description="Auto-differentiated Iterative Linear Quadratic Regulator",
long_description=read("README.rst"),
author="Anass Al",
author_email="[email protected]",
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 :: 4 - Beta",
"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",
])