From ebedaa79b93dfcb4f41169095ae02f59dedb3fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Tue, 2 Dec 2025 17:29:59 +0100 Subject: [PATCH] Swap order of tried setuptools providers Older distutils.core will generate only a single file, not whole directory. That is needed for upgrade test. For newer distributions, setuptools should still work. To keep backward compatibility with 9.16.23, prefer distutils. --- bin/python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/python/setup.py b/bin/python/setup.py index 4440b74..dc96561 100644 --- a/bin/python/setup.py +++ b/bin/python/setup.py @@ -10,10 +10,10 @@ # information regarding copyright ownership. try: - from setuptools import setup -except ImportError: # pylint: disable=deprecated-module from distutils.core import setup +except ImportError: + from setuptools import setup setup( name="isc", -- 2.52.0