]> granicus.if.org Git - python/commitdiff
Adapt test and example after e39d1b6f0856.
authorÉric Araujo <merwok@netwok.org>
Mon, 14 Nov 2011 17:21:38 +0000 (18:21 +0100)
committerÉric Araujo <merwok@netwok.org>
Mon, 14 Nov 2011 17:21:38 +0000 (18:21 +0100)
Tarek’s commit fixed the way packaging configuration file markers are
split under Windows, but these two files were not edited.

Doc/packaging/setupcfg.rst
Lib/packaging/tests/test_config.py

index 9b09a4c2d958341000640394c8ff408a221ef793..a38101751ed609b9d75b872811a369378d45a42b 100644 (file)
@@ -779,7 +779,7 @@ needs to have its options defined in a dedicated section.  Here's an example::
    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
index a0e96d0d0527899ff9e75a9730c4cf3866d8b3d9..613d493916f4ceda3c97314ba7158f31ac83d8e4 100644 (file)
@@ -119,7 +119,7 @@ include_dirs = /usr/include/gecode
     /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