开发者

How to build standalone python installation

How can I build python interpreter which can be installed by just extracting the archive?

e.g. I want to python-2.6.tar.gz. User will e开发者_如何学Cxtract it in any directory, and start using it.


Maybe portablepython (currently Windows only) will help. You can try using it directly, or follow the install process to learn how to create such an environment.

Portable Python is a Python® programming language preconfigured to run directly from any USB storage device, enabling you to have, at any time, a portable programming environment.


I went another way, on debian, and wrote a script to automate the install of python.

This is python-specific, but uses fabric and paramiko to deploy python on remote machines. see:

http://bitbucket.org/chris.mahan/debian-stable-python-2.6.4-deployer/

This may help you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜