Skip to main content

hatch-nativelib

Hatchling plugin with utilities for native libraries.

pkgconf dependency generation

By adding [[tool.hatch.build.hooks.nativelib.pcfile]] to your hatchling project's pyproject.toml, this plugin will do a couple of things:

  • Automatically generate the .pc file from the pyproject.toml config section
  • Register the .pc file so that pkgconf-pypi will find it and things such as meson can use it for dependency resolution
    • Also sets PKG_CONFIG_PATH so that other hatchling plugins can resolve it
  • Generates a python module that uses ctypes to load the library when imported. The library can be found via pkgconf, in the variable pkgconf_pypi_initpy

See config for pyproject.toml configuration.

Download files

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

Source Distribution

hatch_nativelib-0.2.2.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hatch_nativelib-0.2.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_nativelib-0.2.2.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hatch_nativelib-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5d63bb6e119dc14df91429f68ad69d3de00cc89b83b28851d52bad845def1da0
MD5 b739b62f60cfd06e2154a9c69c28988b
BLAKE2b-256 7999fa8e4d9e927ca730fad7b565135098b45fd58841a56bc9b698adc1b2af33

See more details on using hashes here.

Provenance

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

Publisher: dist.yml on robotpy/hatch-nativelib

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

File details

Details for the file hatch_nativelib-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_nativelib-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa39cc451482dab4912641a6c2a8bcaddd431b471b8818fed3937859d6266ddd
MD5 2f0a45db68b224a976cd9980eeceaec4
BLAKE2b-256 ff78b34aed896ebccbefebc14da4db82d647af18c551ce39c616b1a584ffd827

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_nativelib-0.2.2-py3-none-any.whl:

Publisher: dist.yml on robotpy/hatch-nativelib

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