aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/samplebinding/numpy_test.py
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 /sources/shiboken6/tests/samplebinding/numpy_test.py
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 'sources/shiboken6/tests/samplebinding/numpy_test.py')
-rw-r--r--sources/shiboken6/tests/samplebinding/numpy_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/samplebinding/numpy_test.py b/sources/shiboken6/tests/samplebinding/numpy_test.py
index 61f8c7103..be13fdfda 100644
--- a/sources/shiboken6/tests/samplebinding/numpy_test.py
+++ b/sources/shiboken6/tests/samplebinding/numpy_test.py
@@ -29,7 +29,7 @@
import sys
try:
- from distutils import sysconfig
+ import sysconfig
if bool(sysconfig.get_config_var('Py_DEBUG')):
sys.exit(0)
import numpy