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_require = "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.0rc2.tar.gz.

File metadata

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

File hashes

Hashes for setuptools-declarative-requirements-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 1a558250c0dc67a34f60e77887a08d76bc8e8f476382be308441dc0fc4790547
MD5 f6b3dd195ead06a18c4f7dfbc39ce5da
BLAKE2b-256 df2d47780915c4511c6588c576cc6f80be63d3c3edf91b6f6c5603ded2628319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools_declarative_requirements-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b884ad4f60c7be22b4c4c565d15f967048a8f0f4c49f2822f1e38a0e3c25abf
MD5 c6b5f9b10ab0c13fbf09cca8e960b32e
BLAKE2b-256 0578b5cb8fba9cc199095ddd8715283473603202fbdee7393256368c2f1aac8e

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