[Python-checkins] cpython (2.7): Closes #16732: move "xxmodule" comment block to detect_modules(). (Already

georg.brandl python-checkins at python.org
Sun Oct 13 23:37:57 CEST 2013


http://hg.python.org/cpython/rev/c167ab1c49c9
changeset:   86353:c167ab1c49c9
branch:      2.7
parent:      86350:e6ab0cd959a0
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 13 23:38:44 2013 +0200
summary:
  Closes #16732: move "xxmodule" comment block to detect_modules().  (Already done in 3.x)

files:
  setup.py |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1721,6 +1721,10 @@
         if '_tkinter' not in [e.name for e in self.extensions]:
             missing.append('_tkinter')
 
+##         # Uncomment these lines if you want to play with xxmodule.c
+##         ext = Extension('xx', ['xxmodule.c'])
+##         self.extensions.append(ext)
+
         return missing
 
     def detect_tkinter_darwin(self, inc_dirs, lib_dirs):
@@ -1911,10 +1915,6 @@
                         )
         self.extensions.append(ext)
 
-##         # Uncomment these lines if you want to play with xxmodule.c
-##         ext = Extension('xx', ['xxmodule.c'])
-##         self.extensions.append(ext)
-
         # XXX handle these, but how to detect?
         # *** Uncomment and edit for PIL (TkImaging) extension only:
         #       -DWITH_PIL -I../Extensions/Imaging/libImaging  tkImaging.c \

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list