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.
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.
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 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
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
File details
Details for the file pip-bundle-0.0.10.tar.gz
.
File metadata
- Download URL: pip-bundle-0.0.10.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d8ee2565134bbc88e5307660a9c800f9cbccda5c5bd9393e7a0d80c61ac2e2 |
|
MD5 | a00d2b8a0247824e133dda7dea9a4052 |
|
BLAKE2b-256 | ac436d6542deb0dc4d293b656034e020f5a50bc01f628439ecac4956d0885ad7 |
File details
Details for the file pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl
.
File metadata
- Download URL: pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl
- Upload date:
- Size: 5.7 kB
- Tags: CPython 2.7, macOS 10.10+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adb84eaccab783f610912749c6548a54d1a794778c8d689e7c7cda269396776 |
|
MD5 | 87e6a5ffcedab99942050668f761613f |
|
BLAKE2b-256 | beb00fdaf4d12558e1bd96e01b93ce56aa6281868ca1972b0006c2e31ba1daa8 |
File details
Details for the file pip-bundle-0.0.10.macosx-10.10-intel.tar.gz
.
File metadata
- Download URL: pip-bundle-0.0.10.macosx-10.10-intel.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08f2e5760c5a4139f7e4b1eb9d4064d615a188d2c986ece74fef3595393dbb33 |
|
MD5 | c47908586b538da060a388007e652dec |
|
BLAKE2b-256 | 5b607f1aba61803231add27bff6f06e33694ac79c8df92a8a31937e95e604794 |