projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: distutils removed in python 3.12
[babeltrace.git]
/
bindings
/
python
/
setup.py.in
diff --git
a/bindings/python/setup.py.in
b/bindings/python/setup.py.in
index 9baa0625515d5b8f4fa31c6e6940baa9f2bd6014..c43f1540d9dbbcd0975975d78323284515188a9b 100644
(file)
--- a/
bindings/python/setup.py.in
+++ b/
bindings/python/setup.py.in
@@
-22,7
+22,10
@@
import sys
import sys
-from distutils.core import setup, Extension
+if sys.version_info < (3, 12):
+ from distutils.core import setup, Extension
+else:
+ from setuptools import setup, Extension
PY_PATH_WARN_MSG = """
-------------------------------------WARNING------------------------------------
PY_PATH_WARN_MSG = """
-------------------------------------WARNING------------------------------------
This page took
0.022625 seconds
and
4
git commands to generate.