-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
76 lines (65 loc) · 2.13 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
73
74
75
76
[build-system]
requires = [
"setuptools<72.2.0", # pp38 fails with higher setuptools
"wheel",
"archspec >= 0.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "etcpak"
authors = [{ name = "Rudolf Kolbe", email = "[email protected]" }]
description = "python wrapper for etcpak"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
keywords = ["astc", "texture"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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 :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["archspec >= 0.2"]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/K0lb3/etcpak"
"Bug Tracker" = "https://github.com/K0lb3/etcpak"
[tool.setuptools.dynamic]
version = { attr = "etcpak.__version__" }
[tool.cibuildwheel.linux]
archs = ["x86_64", "i686", "aarch64", "ppc64le", "s390x", "armv7l"]
build = "cp37-* pp3*"
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
build = "cp37-macosx_x86_64 cp38-macosx_arm64 pp3*"
before-build = "pip install delocate"
repair-wheel-command = "delocate-wheel -w {dest_dir} -v {wheel}"
[tool.cibuildwheel.windows]
archs = ["AMD64", "x86"] # "ARM64" issues due to uint32x4_t and int64x2_t not having [] accessors
build = "cp37-win_amd64 cp37-win32 cp39-win_arm64 pp3*"
# tests
[project.optional-dependencies]
tests = [
"pytest >= 8.3.3",
"pillow >=10.4.0",
"imagehash >=4.3.1",
"texture2ddecoder",
]
[tool.ruff]
include = ["pyproject.toml", "etcpak/*.py", "etcpak/*.pyi", "tests/*.py"]
[tool.ruff.lint]
select = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
testpaths = ["tests"]