Skip to main content

File support for setuptools declarative setup.cfg

Reason this release was yanked:

Pre-Release

Project description

Declarative setuptools Config Requirements Files Support

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 setup.cfg should include a section named requirements-files like:

[requirements-files]
setup_requires = requirements/setup.txt
install_requires = requirements/base.txt
tests_require = requirements/tests.txt
extras_require =
  docs = requirements/docs.txt
  cli = requirements/cli.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 or --.

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.0rc3.tar.gz.

File metadata

  • Download URL: setuptools-declarative-requirements-1.0.0rc3.tar.gz
  • Upload date:
  • Size: 19.2 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.0rc3.tar.gz
Algorithm Hash digest
SHA256 5546abac8010be3727746f6b51efbda2fe7176a4e4176c6da671da0588a2ad30
MD5 7ba7e0e919b8f45d430dc92d234956e2
BLAKE2b-256 64c1f3567d65bac47f37367f57e79758ec53c7d302342df4df92053e87611a2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools_declarative_requirements-1.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 26e74b5b39a4138487bc4617564fec45b62b782f77a37a623a4989e517045afb
MD5 86d2e59ed424b98870868822fd4d26ab
BLAKE2b-256 544eec750e7e8dec1a5463f6c8558239457ca105b89bdb0550ae268b98c1fb42

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