Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Request for Packaging/Porting: Python 2.5.1: (9 Items)
   
Request for Packaging/Porting: Python 2.5.1  
Hi, please could someone consider porting/packaging Python 2.5.1 for the Third Party Repository or similar? I have been 
using the current (outdated) version in the TPR, and it seems that quite a lot of code chokes it, even after trying 
several workarounds.

 For example, Axon/Kamaelia (available at http://kamaelia.sourceforge.net/Home) always fails during compilation/
installation with this:

python setup.py install

running install

running build

running build_py

not copying Axon/Box.py (output up-to-date)

not copying Axon/ThreadedComponent.py (output up-to-date)

not copying Axon/Scheduler.py (output up-to-date)

not copying Axon/Ipc.py (output up-to-date)

not copying Axon/Axon.py (output up-to-date)

not copying Axon/AxonExceptions.py (output up-to-date)

not copying Axon/debugConfigDefaults.py (output up-to-date)

not copying Axon/Postoffice.py (output up-to-date)

not copying Axon/debug.py (output up-to-date)

not copying Axon/CoordinatingAssistantTracker.py (output up-to-date)

not copying Axon/Component.py (output up-to-date)

not copying Axon/util.py (output up-to-date)

not copying Axon/Linkage.py (output up-to-date)

not copying Axon/Microprocess.py (output up-to-date)

not copying Axon/AdaptiveCommsComponent.py (output up-to-date)

not copying Axon/__init__.py (output up-to-date)

not copying Axon/debugConfigFile.py (output up-to-date)

not copying Axon/idGen.py (output up-to-date)

not copying Axon/Introspector.py (output up-to-date)

running install_lib

not copying build/lib/Axon/Box.py (output up-to-date)

not copying build/lib/Axon/ThreadedComponent.py (output up-to-date)

not copying build/lib/Axon/Scheduler.py (output up-to-date)

not copying build/lib/Axon/Ipc.py (output up-to-date)

not copying build/lib/Axon/Axon.py (output up-to-date)

not copying build/lib/Axon/AxonExceptions.py (output up-to-date)

not copying build/lib/Axon/debugConfigDefaults.py (output up-to-date)

not copying build/lib/Axon/Postoffice.py (output up-to-date)

not copying build/lib/Axon/debug.py (output up-to-date)

not copying build/lib/Axon/CoordinatingAssistantTracker.py (output up-to-date)

not copying build/lib/Axon/Component.py (output up-to-date)

not copying build/lib/Axon/util.py (output up-to-date)

not copying build/lib/Axon/Linkage.py (output up-to-date)

not copying build/lib/Axon/Microprocess.py (output up-to-date)

not copying build/lib/Axon/AdaptiveCommsComponent.py (output up-to-date)

not copying build/lib/Axon/__init__.py (output up-to-date)

not copying build/lib/Axon/debugConfigFile.py (output up-to-date)

not copying build/lib/Axon/idGen.py (output up-to-date)

not copying build/lib/Axon/Introspector.py (output up-to-date)

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/Box.py to Box.pyc

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/ThreadedComponent.py to ThreadedComponent.pyc

byte-compiling /opt/lib/python2.2/site-packages/Axon/Scheduler.py to Scheduler.pyc

<string>:155: Warning: 'yield' will become a reserved keyword in the future

  File "/opt/lib/python2.2/site-packages/Axon/Scheduler.py", line 155

    yield 1

          ^

SyntaxError: invalid syntax

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/Ipc.py to Ipc.pyc

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/Axon.py to Axon.pyc

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/AxonExceptions.py to AxonExceptions.pyc

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/debugConfigDefaults.py to debugConfigDefaults.pyc

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/Postoffice.py to Postoffice.pyc

skipping byte-compilation of /opt/lib/python2.2/site-packages/Axon/debug.py to debug.pyc

byte-compiling /opt/lib/python2.2/site-packages/Axon/CoordinatingAssistantTracker.py to...
View Full Message
RE: Request for Packaging/Porting: Python 2.5.1  
 

> -----Original Message-----
> From: Tyson Key [mailto:tyson.key@gmail.com] 
> Sent: September 24, 2007 6:28 PM
> To: general-bazaar
> Subject: Request for Packaging/Porting: Python 2.5.1
> 
> Hi, please could someone consider porting/packaging Python 
> 2.5.1 for the Third Party Repository or similar? I have been 
> using the current (outdated) version in the TPR, and it seems 
> that quite a lot of code chokes it, even after trying several 
> workarounds.

I'm running with 2.5.* pretty much stock after doing the configure/
make out of the box with qcc -Vgcc_ntox86 as the C and C++ compiler.

I"ll see what I can do to get a binary archive up on the site, but 
it is going to take a few days with my current TODO list.

Thanks,
 Thomas
Re: RE: Request for Packaging/Porting: Python 2.5.1  
Thanks.
Re: RE: Request for Packaging/Porting: Python 2.5.1  
I look forward to it. I'm a python fan too.  
Re: Request for Packaging/Porting: Python 2.5.1  
In that case, I have a beatiful norwegian blue that I want to sell you!

Attilla Danko wrote:
>
> I look forward to it. I'm a python fan too. 
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post3854
>

-- 
cburgess@qnx.com

Re: RE: Request for Packaging/Porting: Python 2.5.1  
I'm curious if any progress has been made on this?  

Thanks
Re: RE: Request for Packaging/Porting: Python 2.5.1  
Hi Josh,

I installed Python from the source packages a few weeks ago and as a previous poster mentioned I don't recall there 
being any porting required.

I can send you the binary I compiled for x86 if you'd like.

./python
Python 2.5.1 (r251:54863, Dec  4 2007, 15:23:13)
[GCC 2.95.3] on qnx6
Type "help", "copyright", "credits" or "license" for more information.
>>>

Let me know.

Deric.

Python on QNX / PPC and SH4?  
Does anybody have Python binaries for PPC and SH4?  I've only seen x86 binaries.

Thanks.
Re: RE: Request for Packaging/Porting: Python 2.5.1  
Deric,

Man I wish I would have looked back at my post a little sooner than this (it has been crazy busy here at work).  At 
anyrate do you still have the binary laying around for x86 python?

Thanks,

Josh