Hatchling plugin to read project dependencies from requirements.txt
Project description
Hatchling plugin to read project dependencies from requirements.txt
Tests |
|
---|---|
PyPI |
|
Anaconda |
|
Activity |
|
QA |
|
Other |
Installation
hatch-requirements-txt can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install hatch-requirements-txt
To install with conda:
First add the required channels
$ conda config --add channels https://conda.anaconda.org/conda-forge $ conda config --add channels https://conda.anaconda.org/domdfcoding
Then install
$ conda install hatch-requirements-txt
Usage
In your pyproject.toml make the following changes:
Append hatch-requirements-txt to build-system.requires.
Append dependencies to project.dynamic.
Add the following table:
[tool.hatch.metadata.hooks.requirements_txt]
filename = "requirements.txt"
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
Built Distribution
Close
Hashes for hatch_requirements_txt-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49426779f43f292aa72d144fad9a0d76fa84b4ad18ccb19dd4768c5c2b16460e |
|
MD5 | 8c27e644f108eb7a67d3b3906d8acf3f |
|
BLAKE2b-256 | 5406d9875bb2b50a551d7d2f137658d09cadbec73fbbd5108c8505075687db0b |
Close
Hashes for hatch_requirements_txt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58dc5bd4101443c571fd0872701726ae7ac3aa40964ec5c3cd321ed69598de81 |
|
MD5 | d23b936b9f34c6907a2032597da22dca |
|
BLAKE2b-256 | ecb86f08e876c0e8d582513795ff4310bbb06876f2ea9a050038c3bf09cb6426 |