[Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

Christian Tismer tismer at stackless.com
Thu Nov 29 00:58:58 CET 2012


Hi Ronald,

On 11/26/12 10:28 AM, Ronald Oussoren wrote:
> On 26 Nov, 2012, at 0:18, Christian Tismer <tismer at stackless.com> wrote:
>
>> Hi Ronald,
>>
>> I have run my install in Wing IDE and found out that the error was
>> introduced by my wrong usage of MachOStandalone.py.
>>
>> I simply ran MachOStandalone.run(path) on the path of my pyside
>> build, assuming that everything works from alone.
> What are you trying to accomplish?

I am hacking on the PySide installer for use in PIP or easy_install.
>> ...
> I'm interested to hear about your particular usecase, it might be useful
> to document your usecase in the macholib documentation or even add
> full support for it.

Actually, this work is temporary, since I'm aiming at some review
and inclusion into pyside-install.

The original version is from Roman Lacko.
https://github.com/PySide/pyside-setup

Then, Daniel Brett wrote OS X support and sent a pull request.
This was the real work, I want to give all credits to Daniel and Roman.

I grabbed that pull request, turned it into a bitbucket project
and extended it with a few work-arounds, and finally used
macholib to create the "--standalone" modus.

You can find the relevant addition here:

https://bitbucket.org/pydica/pyside-setup/changeset/4b8be97e5a00b577fe30ce9aa7e5723ff2a66f94

Note that this repo is on bitbucket since I'm used to it.
You can see the complete history here:
https://bitbucket.org/pydica/pyside-setup/changesets
This is not mean to be a fork, but just a clone, with the intent to
prepare for inclusion.

The use-case was laziness:
Instead of adding a complex analysis of the references, I simply used
macholib and let it do its thing, because the wheel was already invented.
I'd also like to move more stuff to macholib instead of using the mac tools.

The references to frameworks work great.
The only wart is the rewrite of the names of plugin modules,
which simply should not happen.

But it is not a big deal, since I have to add a qt.conf file, anyway.
(the last missing thing in my setup).

Cheers - Chris

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/



More information about the Pythonmac-SIG mailing list