From 098555ed409f6a60c37a96d0062f7d5c64acb67f Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Tue, 16 May 2023 20:17:43 +0600 Subject: [PATCH] clean setuptool imports to remove distutils import shim --- setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 5031fcd5..fa6175f4 100644 --- a/setup.py +++ b/setup.py @@ -6,11 +6,7 @@ import re import sys import setuptools - -try: - from setuptools import setup -except ImportError: - from distutils.core import setup +from setuptools import setup # -- Parse meta re_meta = re.compile(r'__(\w+?)__\s*=\s*(.*)')