Reputation: 3704
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 extract it in any directory, and start using it.
Upvotes: 3
Views: 2873
Reputation: 7619
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.
Upvotes: 1
Reputation: 86362
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.
Upvotes: 4