-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The "-d" option to build.py specifies where the PyKDE modules are to be 
stored. Unfortunately, checkThreading checks the directory specified by "-d" 
for the PyQt modules.

Here is a patch that changes the "-s" option to cover both the SIP modules and 
the PyQt modules. I figured that having PyQt and SIP living in the same 
directories isn't too big of a problem; I can't think of an instance where 
they shouldn't be the same.

(If this attachment doesn't get through, it is due to my own silliness. I will 
repost it inline.

- -- 
Jonathan Gardner <[EMAIL PROTECTED]>
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/M/SmWgwF3QvpWNwRAninAKCItb/oQbKLRFCwmDzngBtfIyCddQCdGxS8
t2mCVQAQz/RjCYHhJCHuOFc=
=Mbus
-----END PGP SIGNATURE-----
--- PyKDE-3.7-2/build.py	2003-08-06 16:22:03.000000000 -0700
+++ PyKDE-mine/build.py	2003-08-08 12:00:25.000000000 -0700
@@ -112,7 +112,7 @@
     print "    -m prog        the name of the Make program [default %s]" % (platMake)
     print "    -p dir         the name of the SIP code generator [default sip]"
     print "    -q dir         the Qt base directory [default %s]" % (platQTDIRName)
-    print "    -s dir         the directory containing the SIP module"
+    print "    -s dir         the directory containing the SIP and PyQt modules"
     print "    -t dir         the directory containing the KDE header files [default %s/include]" % (platKDEDIRName)
     print "    -u dir         the directory containing the KDE lib files [default %s/lib]" % (platKDEDIRName)
     print "    -v dir         the directory containing the PyQt sip files\n"
@@ -624,7 +624,7 @@
 
 
 def checkThreading ():
-        qtmodlib = modDir + '/libqtcmodule.so'
+        qtmodlib = sipModuleDir + '/libqtcmodule.so'
         os.system ('ldd ' + qtmodlib + ' > lddtmp')
         f = open ('lddtmp', 'r')
         buff = f.read ()

Reply via email to