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.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de7d314fd424c976de9f4388b7a197ad17cba7abaea44e5a0e8e7e68ad4f6507 |
|
MD5 | 6126266b25d0b557879b69136994e861 |
|
BLAKE2b-256 | 3b358c07b1f7067d954ff8cf56b729bd34d28237665131484598f5dba1aa6bcd |