Hatch plugin to customize build dependencies
Project description
Hatch plugin to customize build dependencies
Simple Hatch plugin to customize dependencies
whether the build is editable
or standard
.
This may be useful for example in monorepo projects
where sub-projects need to be installed manually,
from the local repo, and not the pypi index.
In this case you can add dependencies to the
standard-dependencies
that will be used only
when building wheels.
Usage
You can specify editable-dependencies
for editable installs
and standard-dependencies
for other builds in the
[tool.hatch.build.hook.flex]
section of the pyproject.toml
.
[build-system]
requires = ["hatchling", "hatch-flex"]
build-backend = "hatchling.build"
[tool.hatch.build.hooks.flex]
editable-dependencies = [...]
standard-dependencies = [...]
Related Projects & Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for hatch_flex-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d186da6b4156a7e2aae43851811dc32042c612927ad7c5b33ef4d008972596f |
|
MD5 | dff125448b51543ca9cc10ab510dc7da |
|
BLAKE2b-256 | 038136012866fea622f5308f98440b7a64f16dbf976f9666651fdece71617d87 |