A simple tool for packing shippable virtualenvs
Project description
bundler.py
A simple tool for packing shippable virtualenvs
bundler.py bundle [-h] [--output OUTPUT] [--compression {gz,bz2,xz} | --gz | --bz2 | --xz] [venv]
Bundle a virtualenv folder into a tarball, ready for caching or shipping between environments
Output files are just compressed tar files, with an additional metadata file (currently unused, but intended for future validation post-unpacking)
bundler.py unpack [-h] [--shebang SHEBANG] [--python PYTHON] [--no-repair] bundle_path [output]
Unpack and optionally repair a bundle into a usable virtualenv
bundler.py repair [-h] [--shebang SHEBANG] [--python PYTHON] path
Repair a virtualenv, rewriting venv/bin
script shebangs, and updating bin/python
symlinks to point
to the correct path.
Future versions will inspect shebangs before rewriting, so as not to break potential shell scripts
and other files that get stuck in venv/bin
Development
This project uses poetry for development dependency management, although it's not strictly necessary.
py.test
is used for testing, flakeheaven
for linting, and black
for formatting.
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
Hashes for bundler.py-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a807222fc71cc8eca0a925e3301356a032ca28ffb218c53d5b745f1fa25240 |
|
MD5 | d7293b83a785296a0ac2664294102d35 |
|
BLAKE2b-256 | 9a5f0bc3838310b8a86de546f6e1568ac0e103d765fe751ae94780e8a064757c |