Author Topic: Python 2.5 for Dingux  (Read 14702 times)

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Python 2.5 for Dingux
« on: July 12, 2010, 10:47:44 pm »
Python 2.5 for Dingux V3
* size is now only 30mb :-)
* dynamically linked
* add to local/sbin/main the library searchpath
Code: [Select]
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Python 2.5 for Dingux V2
* size minimized (~28mb smaller)
* all tests removed from library (not needed)
* local\bin\setup_python.sh added

Python 2.5 for Dingux
* python interpreter
* Modules support
* libpython2.5.a + includes (to build your own python application)
* all Libraries includes (+precompiled *.pyc)

Get Python2.5_dingux_src.zip to build python yourself. You need to download my cygwin sdk.

Download
« Last Edit: August 11, 2010, 09:55:13 am by SiENcE »

santino

  • Guest
Re: Python 2.5 for Dingux
« Reply #1 on: July 13, 2010, 04:08:35 pm »
Good work, lets see where this will leads the dingoo to. :)

wy_scorpio

  • *
  • Posts: 368
Re: Python 2.5 for Dingux
« Reply #2 on: July 13, 2010, 04:59:39 pm »
what is this?
is a emu or a game?

Frank_fjs

  • **
  • Posts: 705
    • My simple Dingoo web site
Re: Python 2.5 for Dingux
« Reply #3 on: July 13, 2010, 05:21:22 pm »
what is this?
is a emu or a game?

Neither. It's a scripting (programming) language for software development.

CJB100

  • Guest
Re: Python 2.5 for Dingux
« Reply #4 on: July 13, 2010, 06:01:29 pm »
Sweet man. Does this mean ports of programs written in python will also be (more) possible? Assuming of course that sources are given.

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #5 on: July 13, 2010, 10:06:40 pm »
If you wanna build Apps that need or use python compiled in, you only need the library (local\lib\python2.5\config\libpython2.5.a)  and the header files (\local\include\python2.5\) from the  "Python2.5_dingux_bin.zip" package.

The source package is only needed if you wana build the python binary on your own. But thats a little tricky and not needed.

CJB100

  • Guest
Re: Python 2.5 for Dingux
« Reply #6 on: July 14, 2010, 02:27:47 pm »
Sweet deal.  :)

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #7 on: July 14, 2010, 11:12:30 pm »
i updated python for dingux.
Quote
Python 2.5 for Dingux V2
* size minimized (~28mb smaller)
* all tests removed from library (not needed)
* local\bin\setup_python.sh added

Vladar

  • *
  • Posts: 15
Re: Python 2.5 for Dingux
« Reply #8 on: July 15, 2010, 03:22:03 pm »
Just great!

Can we expect pygame port?

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #9 on: July 15, 2010, 10:22:21 pm »
Just great!

Can we expect pygame port?

planed ;-)

flaming_goat

  • Guest
Re: Python 2.5 for Dingux
« Reply #10 on: July 15, 2010, 10:23:54 pm »
If that says planned instead of planed thats great news ;D It looks really good.

Pixman

  • *
  • Posts: 20
Re: Python 2.5 for Dingux
« Reply #11 on: July 16, 2010, 07:27:26 pm »
Holy cow, PYTHON! :)

I hope pygame will be ported soon so I can program, too on the Dingoo.

*very excited* :)

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #12 on: July 17, 2010, 12:01:03 pm »
If that says planned instead of planed thats great news ;D It looks really good.

of couse planned ;-)

Ikonz101

  • Guest
Re: Python 2.5 for Dingux
« Reply #13 on: July 30, 2010, 06:46:32 pm »
Any word on pygame SiENcE?

Ikonz101

Edit: How do I setup Python 2.5 in gmenu? I put all the files in the right place from the .zip file. I made a link for the script in gmenu but when I press the button to execute it just goes back to gmenu. Am I suppose to see anything or is Python just running in the background? Are there any python examples I can execute to see if it is working correctly?

Thanks
Ikonz101
« Last Edit: July 30, 2010, 07:13:13 pm by Ikonz101 »

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #14 on: July 31, 2010, 02:57:53 pm »
Use Linux and attach via USB and boot Dingux. Than login via Telnet "10.1.0.2" and run python via commandline. Python is here: /usr/local/bin/python.elf and Samples are here /usr/local/lib/python2.5/ .

You can for example run an webserver. Just go to /usr/local/lib/python2.5/ and type: /usr/local/bin/python.elf SimpleHTTPServer.py . You can now start your Webbrowser on your Linux and type in the dingoo adress.

http://10.1.0.2:8000


Ikonz101

  • Guest
Re: Python 2.5 for Dingux
« Reply #15 on: July 31, 2010, 03:31:41 pm »
Ah OK then I need it hooked up to the PC for this to work. For some reason I thought it would work right off the Dingoo itself. Can't try it because I am on Windows XP and don't have a PC with Linux on it at the moment. Thanks for the info SiENcE.

Ikonz101

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #16 on: August 01, 2010, 03:20:36 pm »
It works for the dingoo itself. But it's a scripting language.

The point is, what do you expect? You can start a script.

Write an python script and then do a shellscript to start a python script.

Quote
#!/bin/sh
/usr/local/bin/python.elf script.py

You can start the shellscript normally as any other programm. But the point is...there is no gui, it's an scripting language ;-).

Ikonz101

  • Guest
Re: Python 2.5 for Dingux
« Reply #17 on: August 03, 2010, 12:10:49 pm »
Yeah I was looking for the GUI ::) Thanks for the help on this SiENcE.. I am going to test out some python scripts and see how well they run on the A320.

Ikonz101

Cycron

  • Guest
Re: Python 2.5 for Dingux
« Reply #18 on: August 09, 2010, 05:19:40 am »
no GUI? aww...  :'(

so how would I make GUI applications for dingux? do they need to be in C or something?

SiENcE (OP)

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Python 2.5 for Dingux
« Reply #19 on: August 09, 2010, 10:17:19 am »
Sorry but i'm no tutor.

If you don't know what Python is...use google or read here http://www.python.org/ .

You can use my python port to write own apps (maybe with C or something else) to embed this into your app as scripting language. A good example is  GemRB.

 

Post a new topic
Post a new topic