diff options
author | gregory guy <gregory-tde@laposte.net> | 2021-11-06 17:01:39 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-12 03:34:47 +0100 |
commit | 976b20e0430a450c33a53970a089b5c001a1b42e (patch) | |
tree | 36a4c2fc90923d31b1c426762c6d18225d4b0e9e /custom/mkcustom.py | |
parent | c1d6f4a527723728aeb28026f62461c146e3b716 (diff) | |
download | sip4-tqt-976b20e0.tar.gz sip4-tqt-976b20e0.zip |
Rename sip into sip-tqt in order to be conflict free with upstream.
This relates to bug 2699.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'custom/mkcustom.py')
-rw-r--r-- | custom/mkcustom.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/custom/mkcustom.py b/custom/mkcustom.py index 0e8deab..94f7021 100644 --- a/custom/mkcustom.py +++ b/custom/mkcustom.py @@ -1,4 +1,4 @@ -"""This Python script uses the SIP build system to create a Makefile for +"""This Python script uses the SIP-TQt build system to create a Makefile for building a custom Python interpreter. The script doesn't take any command line flags - just edit it to suit your needs. You will also need to edit custom.c or customw.c. @@ -6,11 +6,11 @@ or customw.c. import sys -import sipconfig +import sip_tqt_config -# Get the SIP configuration. -cfg = sipconfig.Configuration() +# Get the SIP-TQt configuration. +cfg = sip_tqt_config.Configuration() # This is the name of the interpreter executable (excluding any platform @@ -50,7 +50,7 @@ if sys.platform == "linux2": # Create a dictionary describing the target and source files to be passed to -# the SIP build system. +# the SIP-TQt build system. build = {} if sys.platform == "win32" and WindowsInterpreter: @@ -66,7 +66,7 @@ else: qt = (cfg.qt_version > 0) # Create the Makefile instance. -mf = sipconfig.ProgramMakefile(cfg, build, python=True, console=console, qt=qt) +mf = sip_tqt_config.ProgramMakefile(cfg, build, python=True, console=console, qt=qt) # Modify the Makefile according to the values set above. mf.extra_lib_dirs.extend(ExtraLibraryDirectories) |