-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (39 loc) · 1.34 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (39 loc) · 1.34 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
[build-system]
requires = ["setuptools", "wheel", "cython"]
[project]
name = "cysqlite"
dynamic = ["version"]
description = "sqlite3 binding"
readme = "README.md"
authors = [
{ name = "Charles Leifer", email = "coleifer@gmail.com" }
]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Embedded Systems",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/coleifer/cysqlite"
Repository = "https://github.com/coleifer/cysqlite"
[tool.setuptools]
packages = ["cysqlite"]
package-dir = {"" = "src"}
include-package-data = true
# Wheels carry only the compiled extensions, type stubs and python modules.
# The cython/C sources still reach the sdist via MANIFEST.in.
[tool.setuptools.package-data]
cysqlite = ["*.pyi", "py.typed"]
[tool.setuptools.exclude-package-data]
cysqlite = ["*.c", "*.pyx", "*.pxd", "*.pxi"]
[tool.setuptools.dynamic]
version = { attr = "cysqlite.__version__" }
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
skip = "pp* *-musllinux_i686"
# tests.py uses unix paths (/tmp), so wheels are only tested on unix.
[tool.cibuildwheel.linux]
test-command = "python {project}/tests.py"
[tool.cibuildwheel.macos]
test-command = "python {project}/tests.py"