![]() Once you have it built, use the tarball on any recent Linux distro. The easiest way to do this is you just put your choice of Ubuntu Lucid in a virtual machine, checkout the script with git clone git:///wavetossed/pybuild.git and then run the script. I've also built it on Debian Etch but that was a while ago and I can't guarantee that I haven't changed something. My github site has a build script which has been thoroughly tested on Ubuntu Lucid 10.04 LTS both 32 and 64 bit installs. This way you can install Python for your application without interfering with the system installed Python. This means that any binary shared libraries needed by the portable Python module are part of the build, included in the tarball and installed in Python's private directory structure. Recently I've done some work to build a portable Python binary for Linux that should run on any distro with no external dependencies. If you install packages with apy26 setup.py installor if you use virtualenv and easyinstall, then you have just as flexible a python environment as you need without touching the system standard python. Then I change the name of the binary to something like apy26, add that folder to the end of the PATH and start coding. ![]() In fact, you don't even need root permissions to set it up. This is installed by running a script which places everything into a folder and does not touch any system files. Instead, I would go to Activestate and download their binary package: ![]() ![]() When I've run into similar situations, I generally avoid the package manager, especially if it would be embarrassing to break something, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |