-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (52 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (52 loc) · 1.99 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "doltlite"
# Tracks the bundled libdoltlite release. Bump in lockstep with
# DOLTLITE_REF in scripts/build-libdoltlite.sh. Loader-only fixes between
# libdoltlite releases use post-releases: 0.11.24.post1, 0.11.24.post2, etc.
version = "0.11.24"
description = "Python loader for doltlite — Dolt version control through SQLite's drop-in API."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "Apache-2.0" }
authors = [
{ name = "DoltHub", email = "tim@dolthub.com" },
]
keywords = ["dolt", "doltlite", "sqlite", "version-control", "database"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Database",
]
[project.urls]
Homepage = "https://github.com/dolthub/doltlite"
Source = "https://github.com/dolthub/doltlite-python"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
doltlite = ["_lib/libdoltlite.dylib", "_lib/libdoltlite.so"]
# Forces wheels to be tagged as platform-specific so we don't accidentally
# upload a wheel that bundles a macOS dylib but claims to be pure-python.
[tool.setuptools.exclude-package-data]
doltlite = ["_lib/.gitkeep"]
# --- cibuildwheel ---
# Each platform builds libdoltlite from source via before-build, then bundles
# the resulting library as package data. See .github/workflows/wheels.yml.
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-* cp313-*"
skip = "*-musllinux_* *-win_* *-manylinux_i686"
build-frontend = "build"
before-build = "bash scripts/build-libdoltlite.sh"
[tool.cibuildwheel.macos]
archs = ["arm64", "x86_64"]
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"]