There are several Python packages for Puppy.
If a program explicitly needs 2.3, you could use:
http://dotpups.de/dotpups/Programming/python2.3_2.3.5-3sarge1.pup∞ (3.8 MB)
It is not very complete.
We also have a mini-python 2.4:
http://dotpups.de/dotpups/Programming/python2.4.pup∞ (2.9 MB)
The headers are available, too:
http://dotpups.de/dotpups/Programming/python_headers.tar.gz∞
Then there is the full Python 2.4 from Grafpup,
http://grafpup.com∞
It is required for the "scons" installationsystem, that some external programs use.
I needed this big Python, but it seems to have no headers, that I needed to compile libxml2.
Libxml2 is required for example by gnome.
So I compiled python 2.4.2 (the same version as the one from Grafpup) myself:
http://dotpups.de/dotpups/Programming/Python-2.4-MU/∞
It includes the headers.
You optionally can install the site-packages from the Grapup-Python, but they have no headers.
My Python also includes a current libxml2 sitepackage, but to use it, you will have to upgrade Puppys internal libxml2, so I added a dotpup for it.
I have no idea, if that will conflict with other packages, so use it at own risk.
It includes the docbook catalog, which is very difficult to set up, so I used an external program to create the catalog (forgot where I downloaded it).
Mark
Getting Python
Click simply "ok" when you are asked for a password.
There you find Python, pygtk and more. You can install them in Pupget as Alien Package.
Installing Python
Start pupget unleashed installer
Locate downloaded gzip file
Using Python with Puppy
go to console and type python
Python files can be edited and run with Geany
Run time only
You can install this Dotpup:
http://dotpups.de/dotpups/Programming/python2.4.pup∞
Then right-click a .py -file, "set run action", to associate ".py" with python.
There enter /usr/bin/python
I think it is /usr/bin/python
To check that, type "which python" to be sure, that reports where it was installed.
Note, that this is a cut-down version.
If some programs won't work, you might need a bigger release.
Links
CategoryDevelopment
There are no comments on this page. [Add comment]