-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
45 lines (41 loc) · 1.31 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
import itertools
from setuptools import setup, find_packages
def generate_extras_require():
extras = {
':sys_platform == "win32"': ["win_unicode_console"],
"lint": ["flake8", "black"],
"test": ["pytest"],
"docs": ["mkdocs", "mkdocs-material"],
}
extras.update(dict(all=list(itertools.chain(*extras.values()))))
return extras
setup(
name="mau-mau",
author="Oliver Bestwalter",
url="https://github.com/obestwalter/mau-mau",
license="MIT",
use_scm_version=True,
python_requires=">=3.6",
setup_requires=["setuptools_scm"],
install_requires=["fire"],
extras_require=generate_extras_require(),
packages=find_packages(),
entry_points={
"console_scripts": [
"mau-mau = mau_mau.play:cli",
"mau-mau-stats = mau_mau.stats:cli",
]
},
classifiers=[
"Programming Language :: Python :: 3.6",
"Development Status :: 5 - Mature",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: MIT License",
"Topic :: Education",
"Topic :: Games/Entertainment :: Turn Based Strategy",
],
)