Re: [Pythonmac-SIG] py2app and qt jpeg plugin

2007-09-19 Thread Emanuele Santos
Thanks Ronald and Boyd, This is how I finally fixed the problem: Put an empty qt.conf inside the bundle's resources folder. Copy the contents of qt's plugins directory to the bundle's MacOS folder use install_name_tool on the libraries inside the plugins directory. After that it found the plugins

Re: [Pythonmac-SIG] py2app and qt jpeg plugin

2007-09-19 Thread Boyd Waters
Qt4 has an extra directory of image plugins that you need. These are in ${PREFIX}/lib/qt4-mac I have to put these inside my application bundle and then use install_name_tool to change the library dependency paths. I can send more-specific instructions once I get my application working. - boyd

Re: [Pythonmac-SIG] design questions: new hierarchy/tree class?

2007-09-19 Thread Henning Hraban Ramm
Am 2007-09-17 um 19:13 schrieb Nehemiah Dacres: > While i dont know this library verry well, try xml tree. as for > tree like data, most people use nested lists and nested tuples to > display hirarchial (ergo nested) info. google uses xmltree for the > python G-Data client library so it shou

Re: [Pythonmac-SIG] Macports and Django install problems

2007-09-19 Thread Henning Hraban Ramm
Am 2007-09-19 um 00:18 schrieb Brian Ray: > However we need a installer/montitor app for Django development on on > OSX. Does anyone know if one already exists or has been started? I > would consider helping. There is one great installer for django and a lot of other projects, and every develo

Re: [Pythonmac-SIG] design questions: new hierarchy/tree class?

2007-09-19 Thread Henning Hraban Ramm
Am 2007-09-18 um 00:19 schrieb David Worrall: > www.pytables.org Looks good, I'll check this out, thank you! Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) ___ Pythonmac-SIG maillist - Python

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Kent Johnson
Dave Everitt wrote: > After earlier failed attempts to get Django up and running (see: > 'Macports and Django install problems') I started again and wrote an > 'absurdly simple' OS X 10.4 Django install guide here: > > http://ecoconsulting.co.uk/training/python/python-django-OSX.shtml You don

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Kent Johnson
Dave Everitt wrote: > 1. Is it embedded in Python 2.5? Yes, in the sqlite3 package. > 2. Can it be tested for with: > >>> from pysqlite2 import test > >>> test.test() No, the package is called sqlite3 and there is no umbrella test.test(). You can run individual tests, e.g. In [6]: from sqli

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Dave Everitt
>> After earlier failed attempts to get Django up and running (see: >> 'Macports and Django install problems') I started again and wrote >> an 'absurdly simple' OS X 10.4 Django install guide here: >> http://ecoconsulting.co.uk/training/python/python-django-OSX.shtml > > You don't need to ins

Re: [Pythonmac-SIG] py2app and qt jpeg plugin

2007-09-19 Thread Ronald Oussoren
On 19 Sep, 2007, at 7:14, Emanuele Santos wrote: > Hi, > > I am having problems to show jpeg images on my bundled application > using pyqt4. > I know that the problem is with the qt plugins. How does py2app > handle them? Because if try to run from my source tree it works fine. Py2app doesn't ha

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Christopher Barker
Joel Bender wrote: >> If you already have a .profile file, open it in an editor, and add >> that line to it. > > I didn't have one, so I tried to create it using TextWrangler. When I > went to save it, it complained "The name ".profile" is already used by a > folder." really? who the heck put t

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Boyd Waters
On Sep 19, 2007, at 11:32 AM, Nehemiah Dacres wrote: > which QT? tolltech's qt3 or qt4 (or quicktime? ... jk) Qt 4.3.1 > how about puting python.frameworks in $appdir/resources/ > frameworks/python2.5.framework and building against that framework > before you package it. This is exactly

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Kevin Walzer
Boyd Waters wrote: > > My short answer to "why not py2app" is that this is not just a Python > application. It's a large C++ system. There are Qt applications in > there as well. > You might simply be better off putting together a package installer (pkg) that will put all the supporting bi

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Nehemiah Dacres
which QT? tolltech's qt3 or qt4 (or quicktime? ... jk) QT is trying to be as platform independent as possible. how about puting python.frameworks in $appdir/resources/frameworks/python2.5.framework and building against that framework before you package it. _

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Nehemiah Dacres
which QT? tolltech's qt3 or qt4 (or quicktime? ... jk) QT is trying to be as platform independent as possible. how about puting python.frameworks in $appdir/resources/frameworks/python2.5.framework and building against that framework before you package it. _

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Boyd Waters
On Sep 19, 2007, at 10:27 AM, Christopher Barker wrote: > Is your goal something that looks and acts like a regular single > stand-alone application? If so, then why not just use py2app? Good question! I will try to inhale py2app documentation, maybe it will help. My short answer to "why not

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Joel Bender
> That's not quite it -- yes, it's good to have /usr/local/bin on your > PATH, but for python, you need: > > PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}" > > That will put the "current" python and various python scripts on your PATH Ah! Interesting. > If you alread

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Christopher Barker
Joel Bender wrote: >> I started again and wrote an 'absurdly simple' OS X 10.4 >> Django install guide... Nice. A few comments: If you double-click on the tarball in the finder, it will "automagically" be unpacked for you. > First, thank you! Here's an update: > > If typing python -V in T

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Christopher Barker
Boyd Waters wrote: >>> Maybe the user will drag our app bundle to /Applications, but maybe >>> not. I can't know where everything is until run-time. Is your goal something that looks and acts like a regular single stand-alone application? If so, then why not just use py2app? -Chris -- Christo

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Joel Bender
> I started again and wrote an 'absurdly simple' OS X 10.4 > Django install guide... First, thank you! Here's an update: If typing python -V in Terminal still gives version 2.3... Check your path, it should include /usr/local/bin: $ echo $PATH If it doesn't, check to see if you have

Re: [Pythonmac-SIG] relocatable Python framework?

2007-09-19 Thread Boyd Waters
On Sep 18, 2007, at 11:11 PM, Ronald Oussoren wrote: > > On 19 Sep, 2007, at 6:31, Boyd Waters wrote: > >> Maybe the user will drag our app bundle to /Applications, but maybe >> not. I can't know where everything is until run-time. >> >> How to I ship the Python framework as a relocatable package

[Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Dave Everitt
After earlier failed attempts to get Django up and running (see: 'Macports and Django install problems') I started again and wrote an 'absurdly simple' OS X 10.4 Django install guide here: http://ecoconsulting.co.uk/training/python/python-django-OSX.shtml It avoids Macports or Subversion and