aboutsummaryrefslogtreecommitdiffstats
path: root/examples/utils
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-09-02 13:44:17 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-11-26 14:03:25 +0100
commit95a5bb9dd3b5d3fa86f2ed0868e2b821256a6028 (patch)
tree9c5bb000231bf05937f3a5eeda71126b5aa07ac5 /examples/utils
parentc8fa81de801f09219ef883b72112424baf7c583a (diff)
Move from distutils to setuptools
This is motivated by the deprecation of distutils, and removal in future versions https://github.com/pypa/packaging-problems/issues/127 Pick-to: 6.2 Change-Id: I16448b69f98df6dc1d9a904b69eb69ed5f1093f5 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/utils')
-rw-r--r--examples/utils/pyside_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/utils/pyside_config.py b/examples/utils/pyside_config.py
index 02d4a5da2..6a3338b17 100644
--- a/examples/utils/pyside_config.py
+++ b/examples/utils/pyside_config.py
@@ -38,7 +38,7 @@
##
#############################################################################
-from distutils import sysconfig
+import sysconfig
from enum import Enum
import glob
import os
@@ -237,7 +237,7 @@ def python_version():
def get_python_include_path():
- return sysconfig.get_python_inc()
+ return sysconfig.get_path('include')
def python_link_flags_qmake():