From 510de4b3a0b0444231f87bc6cb60527817847865 Mon Sep 17 00:00:00 2001 From: auouymous Date: Tue, 24 Oct 2023 03:39:53 -0600 Subject: [PATCH] Switch from distutils to setuptools. --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 86963fc5c..9eb8ca392 100644 --- setup.py +++ 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__)))