Skip to main content

Bundle all pip dependencies in a single tarball

Project description


PyPI Version PyPI Downloads MIT License

A quick and dirty script to bundle up all Python dependencies used by a project. Best used with virtualenv.

NOTE: This script works only if all dependencies are available through PyPI. If you have private dependencies you can follow instructions provided by Armin Ronacher on his blog post Python on Wheels.


If you are on OS X and have Homebrew’s Python:

pip install pip-bundle


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


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 create

To install the bundle then run:

pip-bundle install bundle.pip-bundle

You can also change the name of the bundle by giving it on the command line:

pip-bundle create mybundle.pip-bundle # Create
pip-bundle install mybundle.pip-bundle    # Install

And you can use an alternate name for the requirements.txt file:

pip-bundle create -r my-own-requirements.txt

NOTE: The bundle should be consumed on a similar platform to the one that produced it.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pip-bundle, version 0.0.10
Filename, size File type Python version Upload date Hashes
Filename, size pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size pip-bundle-0.0.10.macosx-10.10-intel.tar.gz (3.4 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size pip-bundle-0.0.10.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page