PyQt files and file organization?

44 views
Skip to first unread message

Mitch Rosefelt

unread,
Jan 30, 2013, 1:35:30 AM1/30/13
to python_in...@googlegroups.com
I am curious for any insights into how PyQt should be installed in windows.
In particular, it I'd like insight into which files are necessary and if there is a particular way they should be organized. It does not appear that PyQt needs to be in the system path to work.

I'd been using the build provided by Nathan Horne (http://nathanhorne.com/?p=451), but recently ran into some compatibility issues (ie Maya crashes).
Justin recommended upgrading to 4.9.1 using this build - https://www.box.com/s/1db3b0c903059ac89fc4, which fixed the problem.
I am using a 'pyqt.pth' file to point Maya to my install, so changing versions was easy.
However, the files included in each install and the location of the install is quite different.

In Nathan's install (4.8.3), everything was installed into D:\MiscApps\Python26\Lib\site-packages\PyQt4, and the install showed up in my 'Installed Programs' Control Panel.
The noticeable differences:

1. There is no sip in that install.
2. from PyQt4.pyqtconfig import Configuration # Error - No Config Module
3. PyQt4\bin includes these executables:
assistant.exe
designer.exe
linguist.exe
lrelease.exe
phonon4.dll
pylupdate4.exe
pyrcc4.exe
pyuic4.bat
qcollectiongenerator.exe
qhelpgenerator.exe

The 4.9.1 install wanted to install into a 'Maya2013' folder, but I installed it into D:\MiscApps\Python26\
It then installed a Python dir, with a different set of files than Nathan's (see attached screen grab).
The main differences I've noticed so far:

1. There is no entry in the 'Installed Programs' Control Panel
2. from PyQt4.pyqtconfig import Configuration # Works fine
3. There are only 3 exe's in the whole install, and they are in the root D:\MiscApps\Python26\Python:
pylupdate4.exe
pyrcc4.exe
pyuic4.bat
sip.exe

Thanks.

PyQt491Install.png
Reply all
Reply to author
Forward
0 new messages