From 7b5e0f0097faebdcc6a8b783237bbba7a983147a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 31 Mar 2023 14:52:19 +0200 Subject: Use setuptools instead of distutils distutils is removed from Python 3.12+: https://peps.python.org/pep-0632/ --- python/setup.py.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/setup.py.in') diff --git a/python/setup.py.in b/python/setup.py.in index a741b91..f934c50 100755 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -6,9 +6,9 @@ import os -from distutils.core import setup, Extension -from distutils.command.build_ext import build_ext as _build_ext -from distutils.command.sdist import sdist as _sdist +from setuptools import setup, Extension +from setuptools.command.build_ext import build_ext as _build_ext +from setuptools.command.sdist import sdist as _sdist def genconstants(headerfile, outputfile): hf = open(headerfile, 'r') -- cgit v1.2.1