forked from Stanford-ILIAD/APReL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (32 loc) · 1.07 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
# read the contents of your README file
from os import path
from setuptools import find_packages, setup
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.rst"), encoding="utf-8") as f:
lines = f.readlines()
# remove images from README
lines = [x for x in lines if ".png" not in x and ".gif" not in x]
long_description = "".join(lines)
setup(
name="aprel",
packages=[
package for package in find_packages() if package.startswith("aprel")
],
install_requires=[
"numpy>=1.8.0",
"moviepy>=1.0.0",
"scipy",
"gymnasium",
"pygame",
],
eager_resources=["*"],
include_package_data=True,
python_requires=">=3",
description="APReL: APReL: A Library for Active Preference-based Reward Learning Algorithms",
author="Erdem Biyik, Aditi Talati, Dorsa Sadigh",
url="https://github.com/Stanford-ILIAD/aprel",
author_email="[email protected]",
version="1.0.0",
long_description=long_description,
long_description_content_type="text/markdown",
)