Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0efc419

Browse files
committed
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.
1 parent bfc9729 commit 0efc419

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/packaging/setupcfg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ needs to have its options defined in a dedicated section. Here's an example::
779779
extra_compile_args =
780780
-fPIC -O2
781781
-DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32'
782-
/DGECODE_VERSION='win32' -- sys.platform == 'win32'
782+
/DGECODE_VERSION=win32 -- sys.platform == 'win32'
783783

784784
The section name must start with ``extension:``; the right-hand part is used as
785785
the full name (including a parent package, if any) of the extension. Whitespace

Lib/packaging/tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
/usr/include/blitz
120120
extra_compile_args = -fPIC -O2
121121
-DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32'
122-
/DGECODE_VERSION='win32' -- sys.platform == 'win32'
122+
/DGECODE_VERSION=win32 -- sys.platform == 'win32'
123123
language = cxx
124124
125125
# corner case: if the parent package of an extension is declared but

0 commit comments

Comments
 (0)