From cf03ecfe25bad24204ade9c1f2302d720cc8e32d Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 9 Mar 2019 09:57:11 +0100 Subject: [PATCH] Removed distutils fallback As of https://github.com/kennethreitz/setup.py/blob/master/setup.py --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 7b937540..94455674 100755 --- a/setup.py +++ b/setup.py @@ -5,10 +5,8 @@ import re import sys -try: - from setuptools import setup -except ImportError: - from distutils.core import setup +from setuptools import setup + if sys.argv[-1] == 'publish': os.system("python setup.py sdist upload")