[Python-checkins] cpython: Adapt test and example after e39d1b6f0856.

eric.araujo python-checkins at python.org
Tue Nov 15 16:13:52 CET 2011


http://hg.python.org/cpython/rev/af8d17170065
changeset:   73563:af8d17170065
user:        Éric Araujo <merwok at netwok.org>
date:        Mon Nov 14 18:21:38 2011 +0100
summary:
  Adapt test and example after e39d1b6f0856.

Tarek’s commit fixed the way packaging configuration file markers are
split under Windows, but these two files were not edited.

files:
  Doc/packaging/setupcfg.rst         |  2 +-
  Lib/packaging/tests/test_config.py |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/packaging/setupcfg.rst b/Doc/packaging/setupcfg.rst
--- a/Doc/packaging/setupcfg.rst
+++ b/Doc/packaging/setupcfg.rst
@@ -779,7 +779,7 @@
    extra_compile_args =
        -fPIC -O2
        -DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32'
-       /DGECODE_VERSION='win32' -- sys.platform == 'win32'
+       /DGECODE_VERSION=win32 -- sys.platform == 'win32'
 
 The section name must start with ``extension:``; the right-hand part is used as
 the full name (including a parent package, if any) of the extension.  Whitespace
diff --git a/Lib/packaging/tests/test_config.py b/Lib/packaging/tests/test_config.py
--- a/Lib/packaging/tests/test_config.py
+++ b/Lib/packaging/tests/test_config.py
@@ -119,7 +119,7 @@
     /usr/include/blitz
 extra_compile_args = -fPIC -O2
     -DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32'
-    /DGECODE_VERSION='win32' -- sys.platform == 'win32'
+    /DGECODE_VERSION=win32 -- sys.platform == 'win32'
 language = cxx
 
 # corner case: if the parent package of an extension is declared but

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


More information about the Python-checkins mailing list