Skip to main content

Bundle all pip dependencies in a single tarball

Project description

pip-bundle

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.

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


Download files

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

Source Distribution

pip-bundle-0.0.10.tar.gz (4.1 kB view details)

Uploaded Source

Built Distributions

pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl (5.7 kB view details)

Uploaded CPython 2.7 macOS 10.10+ intel

pip-bundle-0.0.10.macosx-10.10-intel.tar.gz (3.4 kB view details)

Uploaded Source

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

Hashes for pip-bundle-0.0.10.tar.gz
Algorithm Hash digest
SHA256 51d8ee2565134bbc88e5307660a9c800f9cbccda5c5bd9393e7a0d80c61ac2e2
MD5 a00d2b8a0247824e133dda7dea9a4052
BLAKE2b-256 ac436d6542deb0dc4d293b656034e020f5a50bc01f628439ecac4956d0885ad7

See more details on using hashes here.

File details

Details for the file pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for pip_bundle-0.0.10-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 9adb84eaccab783f610912749c6548a54d1a794778c8d689e7c7cda269396776
MD5 87e6a5ffcedab99942050668f761613f
BLAKE2b-256 beb00fdaf4d12558e1bd96e01b93ce56aa6281868ca1972b0006c2e31ba1daa8

See more details on using hashes here.

File details

Details for the file pip-bundle-0.0.10.macosx-10.10-intel.tar.gz.

File metadata

File hashes

Hashes for pip-bundle-0.0.10.macosx-10.10-intel.tar.gz
Algorithm Hash digest
SHA256 08f2e5760c5a4139f7e4b1eb9d4064d615a188d2c986ece74fef3595393dbb33
MD5 c47908586b538da060a388007e652dec
BLAKE2b-256 5b607f1aba61803231add27bff6f06e33694ac79c8df92a8a31937e95e604794

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page