Add requirements.txt automatically to wheel dependencies
Project description
A PEP 517 build backend that automatically adds requirements.txt contents to wheel dependencies.
Usage
Use setup_requirements as your build backend in pyproject.toml:
[build-system] requires = ['setuptools>=42', 'wheel', 'setup-requirements'] build-backend = 'setup_requirements'
Notes
This backend should be used if you want to build an application with pinned dependencies. For libraries use standard install_requires without pins.
The backend exists only because it’s not possible to use file: in install_requires (yet?). See this github issue.
Limitations
It’s not possible to use a different path than a top-level requirements.txt file.
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 Distribution
setup_requirements-1.2.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for setup_requirements-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 829d1589e4b170009d3f50543254880ed399edfa01d24d8c894db8a8faaa7fa2 |
|
MD5 | 2914fffec4daf3f406bee121dc12ae04 |
|
BLAKE2b-256 | 2371db6e7d9bea6a8e11644ec09e6fc65f6c3daa712c831d5326a71f57ab04f2 |