projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: use setuptools with python >= 3.12
[lttng-ust.git]
/
src
/
python-lttngust
/
setup.py.in
diff --git
a/src/python-lttngust/setup.py.in
b/src/python-lttngust/setup.py.in
index 1024d5725fae97932694f4454aba370e43e4bcb8..c5ce059b5a4df935051537aef16126e381cd4379 100644
(file)
--- a/
src/python-lttngust/setup.py.in
+++ b/
src/python-lttngust/setup.py.in
@@
-7,7
+7,10
@@
import os
import sys
import os
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.023364 seconds
and
4
git commands to generate.