Skip to main content

Hatch plugin for adding `Requires-External` metadata in built packages

Project description

hatch-external-dependencies

The package is a hatch plugin.

When building with hatchling this plugin will look in the project toml configuration for an external section and adds dependencies in the built package's metadata as a Requires-External entry.

Toml Example

There are two supported syntax to define the external dependencies in the pyproject.toml:

[project]
external-dependencies = ["pkg:generic/libsomething", ...]

or (based on https://peps.python.org/pep-0725/):

[external]
dependencies = ["pkg:generic/libsomething", ...]

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_external_dependencies-1.0.5.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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