summaryrefslogtreecommitdiff
path: root/setupinfo.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2022-05-17 16:45:19 +0100
committerGitHub <noreply@github.com>2022-05-17 17:45:19 +0200
commitdcab10594a2a3bec2f8302f68205dd0204c21c65 (patch)
tree04cbbb651bfeca273fa76ca79390f3e6fe254046 /setupinfo.py
parentbd605086aa053beb35d1bc4e7d3d07f51b93c8e2 (diff)
downloadpython-lxml-dcab10594a2a3bec2f8302f68205dd0204c21c65.tar.gz
Allow cross-compiling for Windows ARM64 (GH-343)
Also, use the setuptools build_ext command: this allows proper handling of cross-compilation added to setuptools but not to [deprecated] distutils.
Diffstat (limited to 'setupinfo.py')
-rw-r--r--setupinfo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setupinfo.py b/setupinfo.py
index c1247c6d..67589147 100644
--- a/setupinfo.py
+++ b/setupinfo.py
@@ -3,9 +3,10 @@ import io
import os
import os.path
import subprocess
+
+from setuptools.command.build_ext import build_ext as _build_ext
from distutils.core import Extension
from distutils.errors import CompileError, DistutilsOptionError
-from distutils.command.build_ext import build_ext as _build_ext
from versioninfo import get_base_dir
try: