-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
72 lines (61 loc) · 1.6 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.4.3"
]
build-backend = "setuptools.build_meta"
[project]
name = "open-prime-rando"
description = "An open source randomizer patcher for Metroid Prime 2 and 3."
authors = [{name = "Henrique Gemignani"}]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"retro-data-structures>=0.23.0",
"jsonschema>=4.0.0",
"ppc-asm",
"py_randomprime", # for Prime 1 symbols
]
# Entry Points for PyInstaller
[project.entry-points.pyinstaller40]
hook-dirs = "open_prime_rando.__pyinstaller:get_hook_dirs"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
"pre-commit",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/randovania/open-prime-rando"
[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/open_prime_rando/version.py"
git_describe_command = "git describe --dirty --tags --long --match v[0-9]*"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
# asyncio_mode = "auto"
xfail_strict = true
filterwarnings = [
"error",
"ignore::DeprecationWarning",
]
[tool.ruff]
line-length = 120
select = ["E", "F", "W", "C90", "I", "UP"]
src = ["src"]
# Version to target for generated code.
target-version = "py310"