X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fpython-lttngust%2Fsetup.py.in;h=c5ce059b5a4df935051537aef16126e381cd4379;hb=cb80e2fb106d56b4a0ae9c0480a368572f4d0d35;hp=1024d5725fae97932694f4454aba370e43e4bcb8;hpb=7d54bba42d167e5d74dfdff858153742b199b4f6;p=lttng-ust.git diff --git a/src/python-lttngust/setup.py.in b/src/python-lttngust/setup.py.in index 1024d572..c5ce059b 100644 --- a/src/python-lttngust/setup.py.in +++ b/src/python-lttngust/setup.py.in @@ -7,7 +7,10 @@ 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------------------------------------