Python Puplet (based on Racy)

For talk and support relating specifically to Puppy derivatives
Message
Author
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#21 Post by nooby »

Is it LXDE or Xfce that Jemimah chose for Saluki. My poor memory.
Linux Torvalds of Linux fame do like Xfce best :)
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#22 Post by Lobster »

Is it LXDE or Xfce
Highly customizable and integrated, extensive XFCE desktop environment
http://puppylinux.org/wikka/Saluki
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#23 Post by jemimah »

nooby wrote:Jemimah, what is it in Saluki that would make it fail to work on their older
computers then? If the school has been given Pentium III as a gift for
the kids?
Saluki will probably run on a p3 - hopefully with at least 512MB ram. A full install would help with ram usage and speed up the boot time.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#24 Post by jemimah »

antiloquax wrote: I'm afraid I don't quite know what you mean about "dependency resolution" - is this about making sure things will work on other versions?
Here is an example. I just built Gourmet, a recipe manager written in python. But it won't run without the following packages installed: Python, PIL,reportlab,SQLAlchemy. If you have a working PPM you can just specify those in the pet.specs file so when a user installs it, the dependencies are also downloaded and installed.

If you use Racy, you will have to figure out how to set up your own repo. This is not as easy as it should be. It's taken me a month or so to get it going and I'm still fixing bugs.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#25 Post by antiloquax »

jemimah wrote:
Here is an example. I just built Gourmet, a recipe manager written in python. But it won't run without the following packages installed: Python, PIL,reportlab,SQLAlchemy. If you have a working PPM you can just specify those in the pet.specs file so when a user installs it, the dependencies are also downloaded and installed.
Thanks jemimah, that makes sense. I did try to help Dromeno (on this forum) to get a working version of Gourmet and failed miserably!

And I am writing this on my Pentium3 (512mb RAM) running Saluki, by the way!

Am I right in thinking that there isn't a Python3 package for Saluki (I looked in PPM). If that's so, I might have a go at putting together a pet for Python 3.1.4 as my first compile on Saluki.

:D
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#26 Post by jemimah »

Correct. I've done all my python work with 2.7.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#27 Post by antiloquax »

jemimah wrote:Correct. I've done all my python work with 2.7.
Okay, I'll have a go. :D :D
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#28 Post by antiloquax »

UPDATE:

I am working on the next version of this puplet. It will be based on Saluki.

Many thanks to Jemimah for helping me to get the IDLE working for Python 2.7.

The new version will include Python 2.7 and 3.1, both with Pygame. I am doing this because I know plenty of people have not made the shift to Python 3.

This time I will not bundle the devx in with the main .sfs, which should result in a smaller .iso for those who don't need to compile right away.

There will be more Python tutorials available for offline study.

I'm thinking that there may be quite a few people who didn't get a RPi from the first batch who will find this CD useful. As before the idea is that you can just boot from the CD and start coding, with no prior knowledge of Linux or Python.

I'll have to rename it - it can't be RacyPy - SalukiPy sounds nice too!
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#29 Post by antiloquax »

Here's a screenshot of what "SalukiPy" will look like.
It has the lovely 'puptie' image as wallpaper.
You can see here that Pythons 2.7 and 3.1.4 are running and both have imported pygame without complaint.

I'm pleased! :D :D
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#30 Post by Tman »

Looks good, Antiloquax.

But I would hold off on Salukipy until Saluki comes out of beta. A new kernel is planned for Saluki, from what I've read in the thread. But I guess there's no harm on beta versions of Salukipy.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#31 Post by jemimah »

The new Saluki Custom Builder that will be released in saluki-013 should be very helpful. Saluki-13 should be out in a couple of days. (yes, with kernel 3.2).

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#32 Post by antiloquax »

Tman wrote:Looks good, Antiloquax.
Thanks Tman!

I am pleased with how it's turned out. By the way, I did look at Exprimo, but it wouldn't make the soundcard on my pc work, so that kind of swung it for Saluki!

@Jemimah - thanks for that. I'll probably hold on for that and rebuild from that version. I am now running from a fresh frugal install of "SalukiPy". The Pythons and Pygames are working properly. The only thing I don't know how to do is to keep the wallpaper and launcher looking as they should.
Here's a list of the Python tutorials to be included in this version:
A Byte of Python (Swaroop)
Dive into Python (Mark Pilgrim)
Making Games and Invent Your Own Games with Python (Al Sweigert)
Learn Python the Hard Way (Zed A. Shaw (as html files)
The documentation from Python.org for 3.1.4
Introduction to Computer Science Using Python and Pygame (Paul Vincent Craven)
How to Think Like a Computer Scientist.

I'll also add a current screen-shot!
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

pygobject and gtkk

#33 Post by growler »

Quite excited by this although it seems massive?
Is it possiible to write Gtk applications on this python 3? Or is it Tk windows only.
I have an appliication I would like to bundle with pupppy and this would seem a perfect solution.
Is there a python 3 glib pygobject .pet around?
I thought updating glib 2.10 to a later version would have nasty consequences for all other gtk applications? i..e. 95% of the systen.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#34 Post by antiloquax »

Hi Growler,

Yes, it is a big iso - partly because I made it from the racy sfs with the devx loaded. Perhaps I ought to have trimmed things more (eg there are quite a lot of "examples" that come with Pygame.)

I'm afraid I don't know anything really about gtk or pygobject. Tkinter is there of course :D .

mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#35 Post by antiloquax »

While I am waiting for Saluki13 to be ready, I've put together a better version of the original Racy-based idea.
I've updated the first post.
It's hosted on Ubuntu One this time:
http://ubuntuone.com/4oBKQ9tqOG5ljmOhpBYIeL

Here's my blog post with a few details.
http://teampython.wordpress.com/2012/03 ... e-racypy2/
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

Python and Pygame Pets available for Saluki14

#36 Post by antiloquax »

I've made some pets for Saluki14.
This one is Pygame for Python 2.7.2 (you'll need python-tk, tk, tcl and all the SDL bits).

Thisis Python 3.1.4 with Pygame included. Dependencies as above.
:D
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#37 Post by antiloquax »

When you load the devx, it breaks the shell-script that launches Python2.7.2.
This pet fixes it and the desktop icon should work again.
I'll fix this in the next version.
Attachments
Py2.pet
(374 Bytes) Downloaded 587 times
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#38 Post by antiloquax »

If you are using RacyPy2, you may wonder why Java isn't working with seamonkey..

I put the wrong link in the plugins folder.

Make a simlink to /usr/jre/lib/i386/libnpjp2.so in /usr/lib/mozilla/plugins

I'll fix this bug in the next version.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

Bugs Fixed

#39 Post by antiloquax »

Link to the iso for the bug-fixed version.

BugFixed
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

pacer106
Posts: 360
Joined: Tue 11 Jan 2011, 18:42

#40 Post by pacer106 »

here is a wallpaper in 3 sizes for ya antiloquax.

Image

Uploaded with ImageShack.us

Image

Uploaded with ImageShack.us

Image

Uploaded with ImageShack.us

Post Reply