-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: minor touchup Signed-off-by: Henry Schreiner <[email protected]> * style: pre-commit fixes --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4bb688d
commit 5806d51
Showing
6 changed files
with
20 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,3 +84,6 @@ compile_commands.json | |
|
||
# Cache | ||
/emsdk-cache/* | ||
|
||
# Nox | ||
.nox/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[build-system] | ||
requires = ["scikit-build-core>=0.9", "pybind11>=2.12"] | ||
requires = ["scikit-build-core>=0.10", "pybind11>=2.12"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
[project] | ||
|
@@ -9,7 +9,8 @@ description = "The Boost::Histogram Python wrapper." | |
readme = "README.md" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Hans Dembinski and Henry Schreiner", email = "[email protected]" }, | ||
{ name = "Hans Dembinski", email = "[email protected]" }, | ||
{ name = "Henry Schreiner", email = "[email protected]" }, | ||
] | ||
keywords = [ | ||
"boost-histogram", | ||
|
@@ -91,11 +92,9 @@ Homepage = "https://github.com/scikit-hep/boost-histogram" | |
|
||
|
||
[tool.scikit-build] | ||
minimum-version = "build-system.requires" | ||
cmake.version = "CMakeLists.txt" | ||
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" | ||
sdist.include = ["src/boost_histogram/version.py"] | ||
wheel.expand-macos-universal-tags = true | ||
minimum-version = "0.9" | ||
cmake.version = ">=3.24" | ||
sdist.exclude = [ | ||
"extern/**/*.py", | ||
"extern/**/*.md", | ||
|
@@ -113,8 +112,14 @@ sdist.exclude = [ | |
] | ||
|
||
|
||
[[tool.scikit-build.generate]] | ||
path = "boost_histogram/version.py" | ||
template = ''' | ||
__version__ = version = '$version' | ||
''' | ||
|
||
|
||
[tool.setuptools_scm] | ||
write_to = "src/boost_histogram/version.py" | ||
|
||
|
||
[tool.pytest.ini_options] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from __future__ import annotations | ||
|
||
version: str | ||
version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str] |