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', 'setuptools_scm[toml]>=3.4'] 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.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for setup_requirements-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af0f5d3bd57b3b58ac20cc91001d3c38b747a99b1027d8e9bbb7cb7606aff15 |
|
MD5 | 047646c400eaa3b0239cf440bb0031f8 |
|
BLAKE2b-256 | 83aac44c46c9b93c70c82f82a548e7136337e8cd8d9d28768643087ed073aa34 |