aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-12-09 08:16:33 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-12-09 08:53:50 -0500
commitf14930e66601b462699c44384c482cd966f53b8f (patch)
treebea29134419118c1bcb95ca589da5a8e2372e089 /setuptools/command/sdist.py
parentac9997648d89131412eacbb198e2d3a7c97f69e4 (diff)
downloadexternal_python_setuptools-f14930e66601b462699c44384c482cd966f53b8f.tar.gz
external_python_setuptools-f14930e66601b462699c44384c482cd966f53b8f.tar.bz2
external_python_setuptools-f14930e66601b462699c44384c482cd966f53b8f.zip
Drop support for Python 2.6, removing lots of compatibility code for a leaner, cleaner codebase. Fixes #878.
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index 84e29a1b..39e29d73 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -50,13 +50,6 @@ class sdist(sdist_add_defaults, orig.sdist):
for cmd_name in self.get_sub_commands():
self.run_command(cmd_name)
- # Call check_metadata only if no 'check' command
- # (distutils <= 2.6)
- import distutils.command
-
- if 'check' not in distutils.command.__all__:
- self.check_metadata()
-
self.make_distribution()
dist_files = getattr(self.distribution, 'dist_files', [])