-
-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
69 lines (59 loc) · 2.05 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pygame-menu"
dynamic = ["version"]
description = "A menu for pygame. Simple, and easy to use"
readme = "README.rst"
requires-python = ">=3.9, <4"
license = {text = "MIT"}
authors = [{name = "Pablo Pizarro R.", email = "pablo@ppizarror.com"}]
keywords = ["pygame", "menu", "menus", "gui", "widget", "input", "button", "image", "sound", "ui"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Games/Entertainment",
"Topic :: Multimedia",
"Topic :: Software Development :: Libraries :: pygame",
]
dependencies = ["pygame>=2.0.0"]
[project.urls]
"Bug Tracker" = "https://github.com/ppizarror/pygame-menu/issues"
"Documentation" = "https://pygame-menu.readthedocs.io"
"Source Code" = "https://github.com/ppizarror/pygame-menu"
[project.optional-dependencies]
docs = ["sphinx", "sphinx-autodoc-typehints", "sphinx-rtd-theme"]
test = ["nose2[coverage_plugin]", "pytest", "pytest-cov"]
[project.entry-points."pyinstaller40"]
hook-dirs = "pygame_menu.__pyinstaller:get_hook_dirs"
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "pygame_menu.version.ver"}
[tool.setuptools.packages.find]
where = ["."]
exclude = ["test*"]
[tool.ruff]
target-version = "py39"
line-length = 88
exclude = [".git", ".venv", "build", "dist", "__pycache__"]
[tool.ruff.lint]
select = [
"W", # pycodestyle warnings
"UP", # pyupgrade
"TCH", # type-checking imports
"I", # import sorting
]
ignore = []
[tool.ruff.lint.isort]
combine-as-imports = true
force-single-line = false
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
known-first-party = ["pygame_menu"]