Skip to main content

Assorted C++ headers

Project description

PyPI-Server Unit tests

Assorted C++ headers

assorthead vendors an assortment of header-only C++ libraries for compilation of downstream packages. This centralizes the acquisition and versioning of these libraries for a smoother development experience. Downstream dependencies include mattress, knncolle, scranpy and singler, to name a few.

Developers can install assorthead via the usual pip commands:

pip install assorthead

We add all headers to the compiler's search path using the include_dirs argument in the setup() command in our setup.py:

setup(
    use_scm_version={"version_scheme": "no-guess-dev"},
    ext_modules=[
        Extension(
            "foo.core",
            [
                "src/lib/foo.cpp",
                "src/lib/bar.cpp",
            ],
            include_dirs=[
                assorthead.includes(),
            ],
            language="c++",
            extra_compile_args=[
                "-std=c++17",
            ],
        )
    ],
)

See extern/manifest.csv for the list of vendored libraries and their versions. Licenses are available in the directory returned by the licenses() function.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

assorthead-0.2.2.tar.gz (2.0 MB view details)

Uploaded Source

File details

Details for the file assorthead-0.2.2.tar.gz.

File metadata

  • Download URL: assorthead-0.2.2.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for assorthead-0.2.2.tar.gz
Algorithm Hash digest
SHA256 671c0d71241bc667589761f5f04bc47f318a049b6044374559e6c082ca6999c1
MD5 8cd05385666699490840c5be25e33732
BLAKE2b-256 d904c1fbf992f911325eb85c1de16dc4f4b99e1d60181a6e2bdd2149b954cfdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for assorthead-0.2.2.tar.gz:

Publisher: pypi-test.yml on BiocPy/assorthead

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page