Skip to main content

Hatchling plugin with utilities for native libraries

Project description

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
  • On macOS, will adjust any libraries mentioned in the .pc file to have a @loader_path pointing at their dependencies (as specified in the .pc file)

See config for pyproject.toml configuration.

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

hatch_nativelib-0.1.0.tar.gz (9.0 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.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_nativelib-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hatch_nativelib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c55f4a905f14aef7088fc2c281b15e1ef221d4d19ff1be18eca802983b2185ab
MD5 36a30e22d9579889b7ec02ea01435b5e
BLAKE2b-256 32eb228765f81cc5b0f994939b1bfc421424c0fb5dfcf8f29bbe9e5d51cb6217

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_nativelib-0.1.0.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_nativelib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4282bb39549aec65a1ce56aa3767f7ffce719924e480ea190ea013fa0eb91769
MD5 5dc2c6ba6da60fe6329eb17c39fae573
BLAKE2b-256 78798565f958bfa02dfcb9ee47e7586fd828491f851d9d087891e2132515a29e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_nativelib-0.1.0-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