2022-04-09 19:25:00 +10:00
|
|
|
--- setup.py.orig 2022-04-06 05:54:03.000000000 +1000
|
|
|
|
|
+++ setup.py 2022-04-09 19:11:21.000000000 +1000
|
2021-12-10 22:45:11 +11:00
|
|
|
@@ -56,7 +56,7 @@
|
|
|
|
|
|
2021-10-09 17:42:39 +11:00
|
|
|
|
|
|
|
|
# This global variable is used to hold the list of modules to be disabled.
|
|
|
|
|
-DISABLED_MODULE_LIST = []
|
|
|
|
|
+DISABLED_MODULE_LIST = ['_tkinter', '_gdbm']
|
|
|
|
|
|
|
|
|
|
# --list-module-names option used by Tools/scripts/generate_module_names.py
|
|
|
|
|
LIST_MODULE_NAMES = False
|
2022-04-09 19:25:00 +10:00
|
|
|
@@ -847,9 +847,6 @@
|
2021-10-09 17:42:39 +11:00
|
|
|
# Ensure that /usr/local is always used, but the local build
|
|
|
|
|
# directories (i.e. '.' and 'Include') must be first. See issue
|
|
|
|
|
# 10520.
|
|
|
|
|
- if not CROSS_COMPILING:
|
|
|
|
|
- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
|
|
|
|
|
- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
|
|
|
|
|
# only change this for cross builds for 3.3, issues on Mageia
|
|
|
|
|
if CROSS_COMPILING:
|
|
|
|
|
self.add_cross_compiling_paths()
|
2022-04-09 19:25:00 +10:00
|
|
|
@@ -1368,7 +1365,8 @@
|
|
|
|
|
self.addext(Extension('xxlimited_35', ['xxlimited_35.c']))
|
|
|
|
|
|
|
|
|
|
def detect_tkinter(self):
|
|
|
|
|
- self.addext(Extension('_tkinter', ['_tkinter.c', 'tkappinit.c']))
|
2021-10-09 17:42:39 +11:00
|
|
|
+ self.announce("INFO: Not using Tcl/Tk", 2)
|
|
|
|
|
+ return False
|
|
|
|
|
|
2022-04-09 19:25:00 +10:00
|
|
|
def configure_ctypes(self, ext):
|
|
|
|
|
return True
|