mirror of
https://github.com/python/cpython.git
synced 2025-08-16 06:40:56 +00:00
Add support.MS_WINDOWS constant (#110446)
(cherry picked from commit e0c4437793
)
This commit is contained in:
parent
67028f0c15
commit
e188534607
10 changed files with 27 additions and 23 deletions
|
@ -4,15 +4,13 @@ import os
|
|||
import shlex
|
||||
import sys
|
||||
import sysconfig
|
||||
from test import support
|
||||
|
||||
from setuptools import setup, Extension
|
||||
|
||||
|
||||
MS_WINDOWS = (sys.platform == 'win32')
|
||||
|
||||
|
||||
SOURCE = 'extension.cpp'
|
||||
if not MS_WINDOWS:
|
||||
if not support.MS_WINDOWS:
|
||||
# C++ compiler flags for GCC and clang
|
||||
CPPFLAGS = [
|
||||
# gh-91321: The purpose of _testcppext extension is to check that building
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue