-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (30 loc) · 1.04 KB
/
setup.py
File metadata and controls
36 lines (30 loc) · 1.04 KB
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
# -*- coding: utf-8 -*-
#
# setup.py
import setuptools
from py2048 import _TESTING, APPNAME, VERSION
def readme() -> str:
with open("README.rst", "r", encoding="utf-8") as rst:
return rst.read()
setuptools.setup(
name=f"{APPNAME}-danieldiniz" if _TESTING else f"{APPNAME}base",
version=VERSION,
author="Daniel Diniz",
author_email="daniel_asl_diniz@protonmail.com",
description="Python clone of the famous 2048 game.",
long_description=readme(),
long_description_content_type="text/x-rst",
url="https://github.com/dasld/py2048base",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.9",
"Topic :: Games/Entertainment :: Puzzle Games",
],
install_requires=["appdirs>=1", "pytest>=6"],
packages=[APPNAME],
python_requires=">=3.9",
license="GPL",
zip_safe=True,
)