-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
60 lines (50 loc) · 1.92 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
57
58
59
60
import os
from setuptools import find_packages, setup
try:
import builtins
except ImportError:
import __builtin__ as builtins # type: ignore
PATH_ROOT = os.path.dirname(__file__)
builtins.__CLUBS__SETUP__ = True # type: ignore
import clubs # noqa
file_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(file_dir, "README.md"), encoding="utf-8") as file:
long_description = file.read()
with open(os.path.join(file_dir, "requirements.txt")) as file:
requirements = file.read().split("\n")
with open(os.path.join(file_dir, "extra-requirements.txt")) as file:
extra_requirements = file.read().split("\n")
setup(
name="clubs",
version=clubs.__version__,
description=clubs.__docs__,
long_description=long_description,
long_description_content_type="text/markdown",
author=clubs.__author__,
url=clubs.__homepage__,
license=clubs.__license__,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Games/Entertainment",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords=["reinforcement learning", "poker", "AI", "gym"],
packages=find_packages(exclude=["test", "test.*"]),
python_requires=">=3.6",
install_requires=requirements,
include_package_data=True,
extras_requires={"render": extra_requirements},
project_urls={
"Bug Reports": "https://github.com/fschlatt/clubs/issues",
"Source": "https://github.com/fschlatt/clubs/",
},
)