-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henry Schreiner <[email protected]>
- Loading branch information
Showing
8 changed files
with
128 additions
and
188 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ jobs: | |
|
||
- uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: cp38-win32 cp312-manylinux_x86_64 cp37-macosx_x86_64 | ||
CIBW_BUILD: cp38-win32 cp312-manylinux_x86_64 cp38-macosx_universal2 | ||
CIBW_BUILD_VERBOSITY: 1 | ||
CIBW_ENVIRONMENT: "PIP_ONLY_BINARY=:all:" | ||
|
||
|
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
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,13 +1,106 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=45", | ||
"setuptools_scm[toml]>=4.1.2", | ||
requires = ["scikit-build-core[pyproject]"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
[project] | ||
name = "boost-histogram" | ||
dynamic = ["version"] | ||
description = "The Boost::Histogram Python wrapper." | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Hans Dembinski and Henry Schreiner", email = "[email protected]" }, | ||
] | ||
keywords = [ | ||
"boost-histogram", | ||
"histogram", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Operating System :: Unix", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Software Development", | ||
"Topic :: Utilities", | ||
"Typing :: Typed", | ||
] | ||
dependencies = [ | ||
"numpy;python_version<'3.12'", | ||
"numpy>=1.26.0b1;python_version>='3.12'", | ||
"typing-extensions;python_version<'3.8'", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"cloudpickle", | ||
"hypothesis>=6.0", | ||
"ipykernel", | ||
"pytest-benchmark", | ||
"pytest>=6.0", | ||
"typer", | ||
] | ||
docs = [ | ||
"myst_parser>=0.13", | ||
"nbsphinx", | ||
"sphinx-book-theme>=0.0.33", | ||
"Sphinx>=4.0", | ||
"sphinx_copybutton", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
examples = [ | ||
"matplotlib", | ||
"netCDF4", | ||
"numba", | ||
"uproot3", | ||
"xarray", | ||
"xhistogram", | ||
] | ||
test = [ | ||
"cloudpickle", | ||
"hypothesis>=6.0", | ||
"pytest-benchmark", | ||
"pytest>=6.0", | ||
] | ||
|
||
[project.urls] | ||
"Bug Tracker" = "https://github.com/scikit-hep/boost-histogram/issues" | ||
Changelog = "https://boost-histogram.readthedocs.io/en/latest/CHANGELOG.html" | ||
Chat = " https://gitter.im/HSF/PyHEP-histogramming" | ||
Discussions = "https://github.com/scikit-hep/boost-histogram/discussions" | ||
Documentation = "https://boost-histogram.readthedocs.io/" | ||
Homepage = "https://github.com/scikit-hep/boost-histogram" | ||
|
||
|
||
[tool.scikit-build] | ||
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" | ||
sdist.include = ["src/boost_histogram/version.py"] | ||
wheel.expand-macos-universal-tags = true | ||
|
||
|
||
[tool.setuptools_scm] | ||
write_to = "src/boost_histogram/version.py" | ||
|
||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
junit_family = "xunit2" | ||
|
@@ -94,6 +187,7 @@ test-skip = [ | |
skip = ["pp*-manylinux_i686", "cp312-win32"] # not supported by NumPy | ||
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"] | ||
environment = { PIP_ONLY_BINARY = "numpy" } | ||
macos.archs = ["universal2"] | ||
|
||
|
||
[tool.pylint] | ||
|