mirror of
https://github.com/python/cpython
synced 2024-10-14 10:33:27 +00:00
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.
This commit is contained in:
parent
bfc972974b
commit
0efc419d4a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue