-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
34 lines (31 loc) · 868 Bytes
/
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools import find_packages
def get_version() -> str:
# https://packaging.python.org/guides/single-sourcing-package-version/
init = open(os.path.join("offlinerl", "__init__.py"), "r").read().split()
return init[init.index("__version__") + 2][1:-1]
setup(
name='offlinerl',
description="A Library for Offline RL(Batch RL)",
url="https://agit.ai/Polixir/OfflineRL",
version=get_version(),
packages=find_packages(),
author="SongyiGao",
author_email="[email protected]",
python_requires=">=3.7",
install_requires=[
"aim",
"fire",
"loguru",
"gym",
"scikit-learn",
"gtimer",
"numpy",
"ray==2.9",
"aioredis==1.3.1",
"aiohttp==3.7.4",
],
)