-
Notifications
You must be signed in to change notification settings - Fork 644
/
setup.py
55 lines (50 loc) · 1.79 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 setuptools
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
extras = {
'torch': ['torch', 'GitPython', 'gitdb2', 'matplotlib'],
}
def _get_version():
with open('rlcard/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
g = {}
exec(line, g)
return g['__version__']
raise ValueError('`__version__` not defined')
VERSION = _get_version()
setuptools.setup(
name="rlcard",
version=VERSION,
author="Data Analytics at Texas A&M (DATA) Lab",
description="A Toolkit for Reinforcement Learning in Card Games",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/datamllab/rlcard",
keywords=["Reinforcement Learning", "game", "RL", "AI"],
packages=setuptools.find_packages(exclude=('tests',)),
package_data={
'rlcard': ['models/pretrained/leduc_holdem_cfr/*',
'games/uno/jsondata/action_space.json',
'games/limitholdem/card2index.json',
'games/leducholdem/card2index.json',
'games/doudizhu/jsondata.zip',
'games/uno/jsondata/*',
]},
install_requires=[
'numpy>=1.16.3',
'termcolor'
],
extras_require=extras,
requires_python='>=3.7',
classifiers=[
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)