From 4b75a049f5bc49273bb4a395ab16be3ba48491bd Mon Sep 17 00:00:00 2001 From: auouymous Date: Tue, 24 Oct 2023 03:39:53 -0600 Subject: [PATCH 2/2] Switch from distutils to setuptools. Closes: #1571 [via git-merge-pr] --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 86963fc5..9eb8ca39 100644 --- a/setup.py +++ b/setup.py @@ -21,11 +21,12 @@ import os import re import sys -from distutils.core import setup + +from setuptools import setup installing = ('install' in sys.argv and '--help' not in sys.argv) -# distutils depends on setup.py being executed from the same dir. +# setuptools depends on setup.py being executed from the same dir. # Most of our custom commands work either way, but this makes # it work in all cases. os.chdir(os.path.dirname(os.path.realpath(__file__))) -- 2.42.0