summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-07-14 22:58:22 +0300
committermattip <matti.picus@gmail.com>2020-07-14 23:00:09 +0300
commit24748cbc66a8ead55bde0e9ef344207f3b3c33cf (patch)
tree4c2445c4d7d5cd7e6e96f157f82c419c5cb6530b /setup.py
parentf8ba31164868eae4c1b4ce78d7768dee1d58b443 (diff)
downloadnumpy-24748cbc66a8ead55bde0e9ef344207f3b3c33cf.tar.gz
Revert "MAINT: setuptools 49.2.0 emits a warning, avoid it"
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 46c24d543..2cd2bda02 100755
--- a/setup.py
+++ b/setup.py
@@ -219,10 +219,6 @@ class concat_license_files():
f.write(self.bsd_text)
-# from setuptools v49.2.0, setuptools warns if distutils is imported first,
-# so pre-emptively import setuptools. Eventually we can migrate to using
-# setuptools.command
-import setuptools
from distutils.command.sdist import sdist
class sdist_checked(sdist):
""" check submodules on sdist to prevent incomplete tarballs """