From 05ebb7d477dead1fe286e14168b09ae8e9e72abe Mon Sep 17 00:00:00 2001 From: Stuart Prescott Date: Sat, 24 Sep 2022 00:48:08 +1000 Subject: [PATCH] Update setup.py for setuptools 65 setuptools complains loudly if distutils is also used, and exits with error in the 'docs' step since distutils.core.Command rather than setuptools.Command was used for that step. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5c6cdced90..8c84c71de1 100644 --- a/setup.py +++ b/setup.py @@ -9,9 +9,8 @@ import subprocess import shutil import sys -from distutils.core import Command -from setuptools import setup +from setuptools import setup, Command # Manage version number ###################################### with open(os.path.join("src", "sas", "sasview", "__init__.py")) as fid: