-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
42 lines (38 loc) · 1.04 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
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
# metadata
name="yahtzotron",
description="Beats you in Yahtzee.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dionhaefner/yahtzotron",
author="Dion Häfner",
author_email="mail@dionhaefner.de",
# module
packages=find_packages(exclude=["docs", "tests"]),
python_requires=">=3.6",
use_scm_version={"write_to": "yahtzotron/_version.py"},
# dependencies
setup_requires=["setuptools_scm"],
install_requires=[
"click",
"numpy",
"loguru",
"jax",
"dm-haiku",
"rlax",
"optax",
"tqdm",
"asciimatics",
],
# CLI
entry_points="""
[console_scripts]
yahtzotron=yahtzotron.cli:cli
""",
)