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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
[build-system]
requires = [
"scikit-build-core>=0.11",
"pybind11>=3",
]
build-backend = "scikit_build_core.build"
[project]
name = "awkward_cpp"
version = "52"
dependencies = [
"numpy>=1.21.3"
]
readme = "README.md"
description = "CPU kernels and compiled extensions for Awkward Array"
authors = [
{name = "Jim Pivarski", email = "jpivarski@gmail.com"},
]
maintainers = [
{name = "Scikit-HEP", email = "scikit-hep-admins@googlegroups.com"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development",
"Topic :: Utilities",
]
license = "BSD-3-Clause AND MIT"
license-files = ["LICENSE", "rapidjson/license.txt"]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://github.com/scikit-hep/awkward-1.0"
Documentation = "https://awkward-array.org"
"Source Code" = "https://github.com/scikit-hep/awkward-1.0"
"Bug Tracker" = "https://github.com/scikit-hep/awkward-1.0/issues"
Discussions = "https://github.com/scikit-hep/awkward-1.0/discussions"
Chat = "https://gitter.im/Scikit-HEP/awkward-array"
Releases = "https://github.com/scikit-hep/awkward-1.0/releases"
[tool.scikit-build]
minimum-version = "build-system.requires"
build-dir = "build/{cache_tag}"
sdist.reproducible = true
sdist.include = [
"header-only",
"include/awkward/kernels.h",
"src/awkward_cpp/_kernel_signatures.py",
"tests-spec",
"tests-spec-explicit",
"tests-cpu-kernels",
"tests-cpu-kernels-explicit"
]
sdist.exclude = [
"rapidjson/bin",
]
[[tool.scikit-build.overrides]]
if.platform-system = "darwin"
cmake.version = ">=3.29"
[tool.cibuildwheel]
build-frontend = "build[uv]"
test-requires = ["pytest>=6", "."]
test-command = ["echo {project}:", "ls {project}", "echo {package}:", "ls {package}",
"""
pytest -p no:cacheprovider \
{project}/tests \
{package}/tests-cpu-kernels \
{package}/tests-cpu-kernels-explicit \
{package}/tests-spec \
{package}/tests-spec-explicit
"""]
skip = [
"pp*win*",
]
test-skip = [
"pp*",
"*musllinux*",
]
build-verbosity = 1
[tool.cibuildwheel.environment]
PIP_ONLY_BINARY = "cmake,numpy"
UV_ONLY_BINARY = "cmake,numpy"
[[tool.cibuildwheel.overrides]]
select = "*pyodide*"
build-frontend = {name = "build", args = ["--exports", "whole_archive"]}
# Use older manylinux for Python 3.10
[[tool.cibuildwheel.overrides]]
select = "cp310-manylinux*"
manylinux-x86_64-image = "manylinux2014"
|