mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
2 changed files with 2 additions and 2 deletions
|
@ -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 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue