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.
Release files for pip-bundle 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pip-bundle-0.0.10.tar.gz | 4.1 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl | CPython 2.7 | none | macOS 10.10+ Intel (x86-64, i386) | Details |
| pip-bundle-0.0.10.macosx-10.10-intel.tar.gz | Details |
Total release size: 13.2 kB
Release files / pip-bundle-0.0.10.tar.gz
| Download URL | pip-bundle-0.0.10.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51d8ee2565134bbc88e5307660a9c800f9cbccda5c5bd9393e7a0d80c61ac2e2
|
|
BLAKE2b-256 checksum How to use checksums |
ac436d6542deb0dc4d293b656034e020f5a50bc01f628439ecac4956d0885ad7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl
| Download URL | pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl |
|---|---|
| Size | 5.7 kB |
| Tags | CPython 2.7 macOS 10.10+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
9adb84eaccab783f610912749c6548a54d1a794778c8d689e7c7cda269396776
|
|
BLAKE2b-256 checksum How to use checksums |
beb00fdaf4d12558e1bd96e01b93ce56aa6281868ca1972b0006c2e31ba1daa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pip-bundle-0.0.10.macosx-10.10-intel.tar.gz
| Download URL | pip-bundle-0.0.10.macosx-10.10-intel.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08f2e5760c5a4139f7e4b1eb9d4064d615a188d2c986ece74fef3595393dbb33
|
|
BLAKE2b-256 checksum How to use checksums |
5b607f1aba61803231add27bff6f06e33694ac79c8df92a8a31937e95e604794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |