Hello,
I've found that there is almost no way to explicitly exclude the
qsci-api installation.
If one provide no option, but configure.py finds a default dir (quite
common under linux) it tries to install apis there.
I suggest to activate the install in the default dir only if --qsci-api
is provided. (patch follow)
--
Matteo Bertini
Index: configure.py
===================================================================
--- configure.py (revisione 13508)
+++ configure.py (copia locale)
@@ -1655,13 +1655,10 @@
if opts.qscidir:
# An explicit directory implies installing the API file.
opts.api = 1
- else:
+ elif opts.api:
+ # If no explicit dir is provided, use the default one
opts.qscidir = os.path.join(qt_datadir, "qsci")
- if os.path.isdir(opts.qscidir):
- # Install the API file if the default directory exists.
- opts.api = 1
-
# Replace the existing build macros with the ones from the Qt installation.
macros = get_build_macros(args)
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt