No project description provided
Project description
reqs
Bootstrap, compile, and sync Python requirements files
Install
Intended to be used with pipx
- manually & first install:
pipx install -e .../apps/reqs-pkg
; or - when developing:
cd .../apps/reqs-pkg;
reqs
sync
Usage
reqs bootstrap
: Upgrade pip & install pip-toolsreqs compile
: Compile .in to .txt when needed (based on file modification times)reqs sync
: Compile and then update active venv and maybe pipx to match spec
Configuration
Configure using pyproject.toml
:
# The options shown are the default values and DO NOT need to be specified
# if the default is sufficient.
[tool.reqs]
# Path to the directory containing the .in and .txt requirements files. Relative to pyproject.toml.
dpath = 'requirements'
# Use pipx to install an editable version of the project. True for tools like reqs and env-config
# that a developer would want available for different projects. False for most client projects
# deployed on servers.
sync_pipx = false
[tool.reqs.depends]
# Define dependencies between files so `reqs compile` knows when a .in needs to be compiled and
# what order to use when compiling multiple files.
'base.in' = ''
'dev.in' = 'base.txt'
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
Built Distribution
Close
Hashes for reqs_cli-0.20240517.2.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba669658ec617e9fa0d463ffbef0a190678bed39d0e151a17e8e579176ec24b1 |
|
MD5 | 1a47e62c89794ad5dcfcee4e78c0eb34 |
|
BLAKE2b-256 | e437c817d0b4f92c89aefc3fb026bb16b13d271e1b2cd03d896f4c6f4ef6ae15 |
Close
Hashes for reqs_cli-0.20240517.2.post1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 113330ff0b5c4a5467071533be44f9b75f71f231503a111b9cd811a382034146 |
|
MD5 | 0d8917415234f23370ec55caf6d70570 |
|
BLAKE2b-256 | ee690d7ba18d963e4432cdbfb5ac40b375d999f7a62776e3dc2c33b1589bad63 |