代码拉取完成,页面将自动刷新
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",
],
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。