This repository was archived by the owner on Mar 26, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
59 lines (51 loc) · 1.86 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
[build-system]
requires = ["scikit-build-core", "nanobind"]
build-backend = "scikit_build_core.build"
[project]
name = "libsqlglot"
dynamic = ["version"]
description = "Python bindings for libsqlglot, a high-performance SQL parser, transpiler, and optimiser written in C++"
readme = "README.md"
authors = [
{name = "libsqlglot contributors"}
]
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Software Development :: Compilers",
]
requires-python = ">=3.9"
[project.urls]
Homepage = "https://github.com/richarah/libsqlglot"
Documentation = "https://github.com/richarah/libsqlglot#readme"
Repository = "https://github.com/richarah/libsqlglot"
[tool.scikit-build]
minimum-version = "0.5"
cmake.minimum-version = "3.24"
cmake.args = ["-DLIBSQLGLOT_BUILD_PYTHON=ON"]
wheel.packages = ["src/python/libsqlglot"]
wheel.platlib = true
metadata.version.provider = "scikit_build_core.metadata.regex"
metadata.version.input = "CMakeLists.txt"
metadata.version.regex = "project\\(libsqlglot VERSION (?P<value>[0-9.]+)"
# Set manylinux platform tag for PyPI compatibility
[tool.scikit-build.wheel.cmake]
build-type = "Release"
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux_2_28"
musllinux-x86_64-image = "musllinux_1_2"
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
skip = ["*-win32", "*-manylinux_i686", "*-musllinux_i686"]
[tool.cibuildwheel.windows]
before-build = "pip install nanobind"
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]