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.8-cp27-none-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8782b3b827605bad40d627c7c04859cd5c42d1acaee85df45ed97a410368b7ab |
|
MD5 | 9d897232ed77df3addd5928c3ecd25cf |
|
BLAKE2b-256 | 94d779e2a7b9f33d5249b461b1d6032a11bd0bc7d09d18cfab1f608d549ac789 |
Hashes for pip-bundle-0.0.8.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d16b2614f985b5e49d5c0732fdf6ffa9d18dc64125a9029b8395fc9f8948098 |
|
MD5 | b9de71e42e40643fb67fda3d4f731183 |
|
BLAKE2b-256 | b340b2423da96529b23221de8d7e51510b64ad959b02a5643d34b82f0e28fd7d |