Bundle all pip dependencies in a single tarball
Project description
pip-bundle
A quick and dirty script to bundle up all Python dependencies used by a project. Best used with virtualenv.
Installation
If you are on OS X and have Homebrew’s Python:
pip install pip-bundle
Otherwise:
pip install --user pip-bundle
Then make sure to add the local pip’s bin directory to the $PATH. Since it is different on each platform, please refer to its documentation.
Otherwise, if you’re feeling a badass and want to sudo your way out, then run:
sudo pip install pip-bundle
Usage
Make sure your current directory has the requirements.txt file, then run the following command to create a file called bundle.pip-bundle:
pip-bundle -c
To install the bundle then run:
pip-bundle bundle.pip-bundle
You can also change the name of the bundle by giving it on the command line:
pip-bundle -c mybundle.pip-bundle # Create pip-bundle mybundle.pip-bundle # Install
And you can use an alternate name for the requirements.txt file:
pip-bundle -c -r my-own-requirements.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 Distributions
Hashes for pip_bundle-0.0.9-cp27-none-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1537639c46753baa933a0744a842a78395c0c3ca0553777df8f6000b62d0db6 |
|
MD5 | 4abc5bc364952c3b146d8503d8e79f92 |
|
BLAKE2b-256 | c1ec6cacb22fedd9239dea0d431d5f6459a4a8dd2a9648f81e34f12c969616af |
Hashes for pip-bundle-0.0.9.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4609a8b096efcf0f6146f79f13bacf0d667db959e81026946b18fb626790918 |
|
MD5 | 13353e7b8541dbcaf9342f80ef9e2385 |
|
BLAKE2b-256 | 63c47d9700fd9a9f582031134be8123bb59f81210490b8c383c5baa67cf49c18 |