aboutsummaryrefslogtreecommitdiffstats
path: root/wheel_artifacts
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-10-11 21:24:06 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-10-13 21:04:40 +0200
commit50a0c29bb7729864f484f1c127373461a7c6b359 (patch)
tree851b8e5c2617ad2ca5a6a564eb5bf83cca208b65 /wheel_artifacts
parent7e44e3daf13f07c4a70cfded896c389ffc3b7bc2 (diff)
build: replace distutils.cmd.Command and sysconfig
Replaced various dsitutils leftovers: - distutils.cmd.Command by setuptools.Command - distutils.command.build by setuptools.command.build - distutils.sysconfig.get_python_lib(1) by sysconfig.get_paths()['platlib'] Task-number: PYSIDE-2079 Change-Id: Ia694629476f25019f4a9f8d3b306b0367a5cdb08 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'wheel_artifacts')
-rw-r--r--wheel_artifacts/setup.py.base5
1 files changed, 2 insertions, 3 deletions
diff --git a/wheel_artifacts/setup.py.base b/wheel_artifacts/setup.py.base
index 18634cbf8..e22298b99 100644
--- a/wheel_artifacts/setup.py.base
+++ b/wheel_artifacts/setup.py.base
@@ -1,12 +1,11 @@
import setuptools
-from setuptools import setup, Extension
-from setuptools._distutils import cmd
+from setuptools import setup, Extension, Command
# This class and Extension file is intended only to force setuptools
# to understand we are using extension modules, but because we don't
# include the source files in the 'Extension' object, it gets wrongly
# lost.
-class build_ext(cmd.Command):
+class build_ext(Command):
def initialize_options(self):
pass
def finalize_options(self):