Piptegrator - Tools for managing requirements-driven projects
Project description
Piptegrator
Tools for managing requirements-driven projects
Run piptegrator --help
for usage details
Configuration file which contains requirements files (must be in the repo root if present at all):
.piptegrator_config
Note: command line options always override corresponding config file options (they do not append to or aggregate with each other).
Updating this package
Clone this repo
On a branch, make the required edits
Ensure you update the version number in piptegrator/__config__.py
(pre-release? use rc
notation, e.g., 1.2.3rc45
)
Build and install the distributable wheel
rm -rf dist build *.egg-info && \
python setup.py bdist_wheel && \
ls -al dist && \
pip uninstall -y piptegrator && \
pip install dist/*.whl
Test the tools
The main tool is piptegrator
Given the configuration file .piptegrator_config
(sample present in this repo)
Run:
piptegrator --compile --noenvmods --upgrade --help
The --commit
is used to create and manage upgrade branches based on the changed requirements.txt
files.
This option requires a gitlab token gitlab_infra_access_token
and optionally the pyup API key pyup_api_key
in your test environment.
Test the uploaded artifacts
pip uninstall -y piptegrator
pip install piptegrator
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 Distributions
Built Distribution
Hashes for piptegrator-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4478d3cbcdbb319dba529b42780dbc7ea85b833540c159a91446793e55bee7a4 |
|
MD5 | b49791c75cf33dc4af776d03cb80fef1 |
|
BLAKE2b-256 | 069e70d6ea1d050ae63a81dff67af19a9d6db053126b1b0821c47b264d3b19ec |