On Mon, 2 Nov 2009 18:11:52 +1100, Chris Giles <[email protected]>
wrote:
> I just installed all of the latest development snapshots and the 'pyuic4'
> command no longer works, as noted below.  How can I overcome this error?
> 
> `--> /usr/bin/pyuic4
>> /usr/bin/python: can't open file
>> '/usr/lib/python2.6/site-packages/PyQt4/uic/pyuic.py': [Errno 2] No such
>> file or directory

Apply the attached patch.

Thanks,
Phil
--- lib/configure.py	(revision 2673)
+++ lib/configure.py	(working copy)
@@ -800,7 +800,7 @@
         makefile = sipconfig.PythonModuleMakefile(
             configuration=sipcfg,
             dstdir=uicdir,
-            srcdir=os.path.join(src_dir, "uic"),
+            srcdir=os.path.join(src_dir, "pyuic", "uic"),
             dir="pyuic",
             installs=[[os.path.basename(wrapper), opts.pyqtbindir]]
         )
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to