-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (48 loc) · 1.37 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
import os
import pathlib
from setuptools import find_packages, setup
def get_version() -> str:
init = open(os.path.join("wiserl", "__init__.py"), "r").read().split()
return init[init.index("__version__") + 2][1:-1]
ROOT_DIR = pathlib.Path(__file__).parent
README = (ROOT_DIR / "README.md").read_text()
VERSION = get_version()
def get_install_requires():
return [
"gym>=0.23.1,<=0.24.1",
"tqdm",
"h5py",
"Cython==0.29.36"
"imageio",
"numpy",
"torch",
"tensorboard",
"wandb",
"UtilsRL"
]
def get_extras_require():
return {}
setup(
name = "wiserl",
version = VERSION,
description = "A library desgined for Offline Preference-Based RL algorithms. ",
long_description = README,
long_description_content_type = "text/markdown",
url = "https://github.com/typoverflow/WiseRL",
author = "typoverflow",
author_email = "typoverflow@outlook.com",
license = "MIT",
packages = find_packages(),
include_package_data = True,
tests_require=["pytest", "mock"],
python_requires=">=3.7",
install_requires = [
"gym>=0.23.1,<=0.24.1",
"tqdm",
"numpy",
"torch",
"torchvision",
"pandas",
"UtilsRL"
]
)