summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2016-01-27 21:34:28 +0100
committerCharles Harris <charlesr.harris@gmail.com>2016-01-27 14:48:02 -0700
commit6770f985b3663338d023dd707d43a6a53f530668 (patch)
tree4cea5e8db849713c477fd4f8370d1e5bc2a29b54
parent2a079b2d39ea71938912528cbe9d679649bf77b9 (diff)
downloadnumpy-6770f985b3663338d023dd707d43a6a53f530668.tar.gz
BLD/BUG: revert usage of setuptools when building an sdist.
This was seriously broken. Setuptools does unwanted 'smart' things and ignores MANIFEST.in. Closes gh-7127.
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index a7f66a03d..c68f5a399 100755
--- a/setup.py
+++ b/setup.py
@@ -188,7 +188,7 @@ def check_submodules():
raise ValueError('Submodule not clean: %s' % line)
-from setuptools.command.sdist import sdist
+from distutils.command.sdist import sdist
class sdist_checked(sdist):
""" check submodules on sdist to prevent incomplete tarballs """
def run(self):