From 2f5c660499e9cbdc089d212c8c4d3f4598784a92 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 1 Dec 2020 12:44:09 -0500 Subject: [PATCH] remove legacy debugging code from setup.py --- setup.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/setup.py b/setup.py index c6c3e994625e..8477c826b28f 100644 --- a/setup.py +++ b/setup.py @@ -10,20 +10,9 @@ import platform import sys -import pkg_resources - -import setuptools from setuptools import find_packages, setup -if pkg_resources.parse_version( - setuptools.__version__ -) < pkg_resources.parse_version("18.5"): - raise RuntimeError( - "cryptography requires setuptools 18.5 or newer, please upgrade to a " - "newer version of setuptools" - ) - base_dir = os.path.dirname(__file__) src_dir = os.path.join(base_dir, "src")