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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647177005fffb6569a380550e7adafb451e1e2df61b3c198d2f2cd4786971189 |
|
MD5 | 8727f24f9958fd2abef37f0758f36bb8 |
|
BLAKE2b-256 | 3edd5a4575aaeaa92bb338d069a15b4f15c0504208192dcc5fe2cf29533abeba |
Close
Hashes for hatch_requirements_txt-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49fc8956c35f014e06dd2f7042c7d33fe6ced6758353a838f9ea006b44dfab7 |
|
MD5 | 59f1c4244141c8455922c75c6f7bac8a |
|
BLAKE2b-256 | ec11c8b0fcf82b12dbadbfef91e0eabc966480f20376473543a9f9f0c3d3e9d4 |