-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize the build system with scikit-build-core
- Loading branch information
Showing
6 changed files
with
65 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,46 @@ | |
select = "*-musllinux*" | ||
before-all = "apk add clang" | ||
environment = { CXX="clang++" } | ||
|
||
[build-system] | ||
requires = ["scikit-build-core >=0.4.3", "pybind11 >=2.13", "typing_extensions"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
[project] | ||
name = "teqp" | ||
version = "0.23.0" | ||
description = "teqp: Templated EQuation of state Package" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Ian Bell", email = "[email protected]" }, | ||
] | ||
#classifiers = [ | ||
# "License :: BSD", | ||
#] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/usnistgov/teqp" | ||
|
||
[tool.scikit-build] | ||
# Protect the configuration against future changes in scikit-build-core | ||
minimum-version = "0.10" | ||
|
||
# Setuptools-style build caching in a local directory | ||
build-dir = "build/{wheel_tag}" | ||
|
||
# The package to be built is that in the teqp folder | ||
wheel.packages = ["teqp"] | ||
build.targets = ["teqp"] | ||
|
||
# Build stable ABI wheels for CPython 3.12+ | ||
# wheel.py-api = "cp312" | ||
|
||
#### Additional options for debugging | ||
# cmake.verbose = true | ||
# cmake.build-type = "Debug" | ||
# cmake.args = ["-G Xcode", "-DXCODE_DEBUG_PYTHON=ON"] | ||
# cmake.args = ["-DVERBOSE=ON"] | ||
|
||
[tool.cibuildwheel] | ||
build-verbosity = 1 |