pip-bundle

当前版本: 0.0.10


pip-bundle是什么?

将所有pip依赖项捆绑到单个tarball中。
Bundle all pip dependencies in a single tarball

许可协议

MIT

关键词

pip bundle

安装方式

pip install pip-bundle==0.0.10

相关网址


使用说明

pip-bundle

PyPI Version PyPI Downloads MIT License

A quick and dirty script to bundle up all Python dependencies used by a project. It basically does everything described in pip's manual and is 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 in 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.

项目热度

项目信息

分享到

基本信息
开发语言
Python
相关项目
0
相关仓库
1
Watchers
1
Stars
4
Forks
0
版本数量
10
最新发布
2015-09-29
首次发布
2015-09-08
仓库大小
9.77 KB

版本历史
0.0.10
2015-09-29
0.0.9
2015-09-09
0.0.8
2015-09-09
0.0.7
2015-09-09
0.0.6
2015-09-09
0.0.5
2015-09-09
0.0.4
2015-09-09
0.0.3
2015-09-08
0.0.2
2015-09-08
0.0.1
2015-09-08

贡献者
lvillani