Skip to main content

sciforge-build

Build-time distribution of the SciForge C++ binding substrate headers (<sciforge/binding/...>). It is never a runtime dependency — list it in your build-system.requires and add sciforge_build.get_include() to your extension's include_dirs at wheel-build time. Pure-Python (py3-none-any); CalVer, aligned with the SciForge tag.

Resolving the headers (canonical consumption pattern)

A wheel/sdist build (pip, python -m build, cibuildwheel) resolves the headers through the sciforge-build package above. But a co-development checkout wants the sibling SciForge tree, not a possibly stale pip-installed package. The canonical resolver in a consumer's setup.py tries, in order, an explicit SCIFORGE_INCLUDE override, a sibling sciforge checkout, then the package — so local dev wins, CI/wheel falls through to the package:

def _sciforge_include():
    header = os.path.join("sciforge", "binding", "error.hpp")
    env = os.environ.get("SCIFORGE_INCLUDE")
    if env and os.path.exists(os.path.join(env, header)):
        return env
    sibling = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "sciforge", "include")
    if os.path.exists(os.path.join(sibling, header)):
        return sibling
    try:
        import sciforge_build
        return sciforge_build.get_include()
    except ImportError:
        raise SystemExit("sciforge headers not found: check out RECHE23/sciforge as a "
                         "sibling, pip install sciforge-build, or set SCIFORGE_INCLUDE")

Then include_dirs=["include", _sciforge_include()], and have the Makefile python target export SCIFORGE_INCLUDE=$(SCIFORGE_INCLUDE) (default ../sciforge/include) so a sibling build needs no installed sciforge-build. The exists(error.hpp) guard makes a sibling that lacks binding/ fall through to the package.

Metadata

Release files for sciforge-build 2026.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sciforge-build 2026.10.1
File Size Uploaded
sciforge_build-2026.10.1.tar.gz 19.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sciforge-build 2026.10.1
File Interpreter ABI Platform
sciforge_build-2026.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 40.7 kB

Release files / sciforge_build-2026.10.1.tar.gz

Download URL sciforge_build-2026.10.1.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ef5cfaa07d016ece88817a63b71694239fd4d6151619affb2570f2b3b61780c2
BLAKE2b-256 checksum
How to use checksums
0ad755b052d58b60fcbb7a8a7b6bebcc0268204a85ab3f99fca6b80169aca44f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / sciforge_build-2026.10.1-py3-none-any.whl

Download URL sciforge_build-2026.10.1-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1357b92648145b6eaec76302a3f83c5c48954186a4a03032615a4afc8396f596
BLAKE2b-256 checksum
How to use checksums
8b2436d1bc640c04b1a1a00b0121d5e621b61c5dc08a188baf931dd3be639c23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page