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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hatch_flex-0.0.1-py3-none-any.whl.
File metadata
- Download URL: hatch_flex-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d186da6b4156a7e2aae43851811dc32042c612927ad7c5b33ef4d008972596f
|
|
| MD5 |
dff125448b51543ca9cc10ab510dc7da
|
|
| BLAKE2b-256 |
038136012866fea622f5308f98440b7a64f16dbf976f9666651fdece71617d87
|