-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
92 lines (86 loc) · 2.84 KB
/
Copy pathsetup.py
File metadata and controls
92 lines (86 loc) · 2.84 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import os
from setuptools import find_packages
from setuptools import setup
from xodex.utils.version import vernum
def readme():
fname = "README.md"
if os.path.exists(fname):
with open(fname, encoding="utf-8") as f:
return f.read()
return ""
setup(
name="xodex",
version=f"{vernum}",
author="Sackey Ezekiel Etrue",
author_email="sackeyetrue@gmail.com",
maintainer="Sackey Ezekiel Etrue",
maintainer_email="sackeyetrue@gmail.com",
description="Python Game Development Engine (Pygame-based)",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/djoezeke/xodex",
project_urls={
"Homepage": "https://github.com/djoezeke/xodex",
"Documentation": "https://github.com/djoezeke/xodex#readme",
"Issues": "https://github.com/djoezeke/xodex/issues",
"Release Notes": "https://github.com/djoezeke/xodex/releases",
"Source": "https://github.com/djoezeke/xodex",
},
license="MIT",
packages=find_packages(
where=".",
exclude=["tests"],
include=[
"xodex",
"xodex.core",
"xodex.game",
"xodex.conf",
"xodex.scene",
"xodex.utils",
"xodex.object",
"xodex.contrib",
],
),
py_modules=["xodex"],
install_requires=["pygame>=2.6.1", "pillow>=11.3.0", "rich>=14.1.0"],
extras_require={
"dev": [
# We add xodex[standard] so `uv sync` considers the extras.
"xodex[standard]",
"ruff", # format & check
"pytest", # testing
"twine", # check dist
],
"docs": [
"mkdocs==1.6.1",
"mkdocs-material==9.6.13",
"mkdocstrings-python==1.16.12",
"mkdocs-llmstxt==0.2.0",
],
},
python_requires=">=3.13",
keywords=["pygame", "game engine", "2d", "xodex", "games", "engine", "framework"],
platforms=["any"],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Games/Entertainment",
"Topic :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
entry_points={
"pyinstaller40": ["hook-dirs = xodex.conf.hook:get_hook_dirs"],
"console_scripts": [
"xodex=xodex.__main__:execute_from_command_line",
],
},
setup_requires=["setuptools", "wheel"],
options={"bdist_wheel": {"universal": False}},
zip_safe=False,
include_package_data=True,
)