GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-tcod/pyproject.toml at main · pinghedm/python-tcod

Expand file tree

/

pyproject.toml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
174 lines (160 loc) · 4.75 KB
/

pyproject.toml

Copy path

File metadata and controls

174 lines (160 loc) · 4.75 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[build-system]
requires = [
# setuptools >=64.0.0 might break editable installs
# https://github.com/pypa/setuptools/issues/3548
"setuptools >=77.0.3",
"setuptools_scm[toml]>=6.2",
"packaging>=24.2",
"wheel>=0.37.1",
"cffi>=1.15",
"pycparser>=2.14",
"pcpp==1.30",
"requests>=2.28.1",
"attrs",
]
build-backend = "setuptools.build_meta"
[project]
name = "tcod"
dynamic = ["version"]
description = "The official Python port of libtcod."
authors = [{ name = "Kyle Benesch", email = "[email protected]" }]
readme = "README.rst"
requires-python = ">=3.10"
license = "BSD-2-Clause"
license-files = [
"LICENSE.txt",
"libtcod/LICENSE.txt",
"libtcod/LIBTCOD-CREDITS.txt",
]
dependencies = [
"attrs>=25.2.0",
"cffi>=1.15",
'numpy>=1.21.4; implementation_name != "pypy"',
"typing_extensions>=4.12.2",
]
keywords = [
"roguelike",
"roguelikedev",
"gamedev",
"Unicode",
"libtcod",
"libtcodpy",
"field-of-view",
"pathfinding",
]
classifiers = [ # https://pypi.org/classifiers/
"Development Status :: 5 - Production/Stable",
"Environment :: Win32 (MS Windows)",
"Environment :: MacOS X",
"Environment :: X11 Applications",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Free Threading :: 2 - Beta",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Games/Entertainment",
"Topic :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[project.entry-points.pyinstaller40]
hook-dirs = "tcod.__pyinstaller:get_hook_dirs"
[project.urls]
Homepage = "https://github.com/libtcod/python-tcod"
Documentation = "https://python-tcod.readthedocs.io"
Changelog = "https://github.com/libtcod/python-tcod/blob/main/CHANGELOG.md"
Source = "https://github.com/libtcod/python-tcod"
Tracker = "https://github.com/libtcod/python-tcod/issues"
Forum = "https://github.com/libtcod/python-tcod/discussions"
[tool.setuptools_scm]
write_to = "tcod/version.py"
[tool.pytest.ini_options]
minversion = "6.0"
required_plugins = ["pytest-cov", "pytest-benchmark"]
testpaths = ["tcod/", "tests/", "docs/"]
addopts = [
"--doctest-modules",
"--doctest-glob='*.rst'",
"--cov=tcod",
"--capture=sys",
"--ignore=tcod/__pyinstaller",
]
log_file_level = "DEBUG"
faulthandler_timeout = 5
filterwarnings = [
"ignore:This function may be deprecated in the future:PendingDeprecationWarning",
"ignore:This class may perform poorly and is no longer needed.::tcod.map",
"ignore:'import tcod as libtcodpy' is preferred.",
]
[tool.coverage.report] # https://coverage.readthedocs.io/en/latest/config.html
exclude_lines = ['^\s*\.\.\.', "if TYPE_CHECKING:", "# pragma: no cover"]
omit = ["tcod/__pyinstaller/*"]
[tool.cibuildwheel] # https://cibuildwheel.pypa.io/en/stable/options/
enable = ["pypy", "pyodide-prerelease"]
[tool.mypy]
files = ["."]
python_version = "3.10"
warn_unused_configs = true
show_error_codes = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
strict_bytes = true
extra_checks = true
exclude = [
"build/",
"venv/",
"libtcod/",
"docs/",
"distribution/",
"termbox/",
"samples_libtcodpy.py",
]
[[tool.mypy.overrides]]
module = "numpy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tcod.version"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tcod._libtcod"
ignore_missing_imports = true
[tool.ruff]
extend-exclude = ["libtcod"] # Ignore submodule
line-length = 120
[tool.ruff.lint] # https://docs.astral.sh/ruff/rules/
select = ["ALL"]
ignore = [
"COM", # flake8-commas
"E501", # line-too-long
"PYI064", # redundant-final-literal
"S101", # assert
"S301", # suspicious-pickle-usage
"S311", # suspicious-non-cryptographic-random-usage
"SLF001", # private-member-access
]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = [
"D103", # undocumented-public-function
]
"**/{tests,docs,examples,scripts}/*" = [
"D103", # undocumented-public-function
"T201", # print
]
[tool.ruff.lint.pydocstyle] # https://docs.astral.sh/ruff/settings/#lintpydocstyle
convention = "google"
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.