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 setup_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.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for setup_requirements-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20a6fa888ff46974538606270e38b779cfe997a5907415fc981fbf8c8b4cbfc4 |
|
MD5 | a70680a273472d93aba575aef6f9a632 |
|
BLAKE2b-256 | 1634f6a8371d31b84ecb47475010e3ae5d691d0a8bc670cd7fe4a3a3881cffac |