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.1.tar.gz (9.2 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.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_nativelib-0.1.1.tar.gz
  • Upload date:
  • Size: 9.2 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.1.tar.gz
Algorithm Hash digest
SHA256 f3c2945c5e2fa2d4c935fdcd40df8ef2091f3b8869ce048628d993b9e2fae8ed
MD5 71d0a81a70871c3205acda59acea1bef
BLAKE2b-256 199353456eee271613919183f2deaffabaa86a00521f4cc0dff487856e4765ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hatch_nativelib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8476ff962ad0091014775a556d96a74ee4fee7f3a4b0922cb4f3a546e4e6529
MD5 1f1b64d591cba9d7371d14a945795580
BLAKE2b-256 6b207131e4885523048f3fab87864891c3816156eeefa646fa5d3477ba2f1c08

See more details on using hashes here.

Provenance

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