Skip to main content

Add requirements.txt automatically to wheel dependencies

Project description

Build status

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

setup_requirements-1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file setup_requirements-1.2.tar.gz.

File metadata

  • Download URL: setup_requirements-1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for setup_requirements-1.2.tar.gz
Algorithm Hash digest
SHA256 4a4bae3780cc468f84e01b6b12dd253ebdbc5ac4b1f221e14b690ca7c9ccddfa
MD5 a84d0947fb64f4d8d1f83de00ca43ffd
BLAKE2b-256 a49a09459380231f622a25e6222a9af8c18f2fee418174ea4188e8f30a0bf033

See more details on using hashes here.

File details

Details for the file setup_requirements-1.2-py3-none-any.whl.

File metadata

  • Download URL: setup_requirements-1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for setup_requirements-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 829d1589e4b170009d3f50543254880ed399edfa01d24d8c894db8a8faaa7fa2
MD5 2914fffec4daf3f406bee121dc12ae04
BLAKE2b-256 2371db6e7d9bea6a8e11644ec09e6fc65f6c3daa712c831d5326a71f57ab04f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page