Skip to main content

File support for setuptools declarative setup.cfg

Reason this release was yanked:

Pre-release

Project description

setuptools-declarative-requirements

This projects adds the ability for projects using setuptools declarative configuration to specify requirements using requirements files.

There's a reason why this isn't, at least yet, supported by default. Please read why.

Anyway, if you know what you're doing, then this library solves the missing feature of defining requirements using requirements files.

Setup

Your pyproject.toml should look like:

[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_declarative_requirements"]
build-backend = "setuptools.build_meta"

[requirements]
install_requires = "requirements/base.txt"
tests_requires = "requirements/tests.txt"
[requirements.extras_require]
docs = "requirements/docs.txt"
web = "requirements/web.txt"

⚠ This project makes no attempt to validate your requirements files. The only thing it does is include every non empty line from your requirements files which doesn't start with #, -r and --.

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

File details

Details for the file setuptools-declarative-requirements-1.0.0rc1.tar.gz.

File metadata

  • Download URL: setuptools-declarative-requirements-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7

File hashes

Hashes for setuptools-declarative-requirements-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 4d5c2f5a12a2006c4b153f5c603c28f7dd1732fb4624df25d3508459cdec968a
MD5 a54612006c699344c1d613197aee532c
BLAKE2b-256 94c22ec96d167e385682e4d2e331043e3a50ac4dd573eecda8f51c4c5b4633c7

See more details on using hashes here.

File details

Details for the file setuptools_declarative_requirements-1.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for setuptools_declarative_requirements-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc86780736506f23ca682391df0f13f1be34d85112d85e5507c09e7a3c6dfd4
MD5 00f07ad52bf1247977fd1eec079df8b0
BLAKE2b-256 baf87ff6135bfb689292d31754909030a2c557921b4a2b0d3d07d1ca3b97bc10

See more details on using hashes here.

Supported by

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