aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-08-10 14:06:15 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-08-10 14:06:15 -0400
commit50cd15aef3a657ee9cf86326e18e3bc2919b4cf6 (patch)
tree55998f3b4b9d73506753be4a94f9850d2042f516 /setuptools/dist.py
parentf18617330c7c34684c7cd8e7d2fbb9873e12e874 (diff)
downloadexternal_python_setuptools-50cd15aef3a657ee9cf86326e18e3bc2919b4cf6.tar.gz
external_python_setuptools-50cd15aef3a657ee9cf86326e18e3bc2919b4cf6.tar.bz2
external_python_setuptools-50cd15aef3a657ee9cf86326e18e3bc2919b4cf6.zip
Include setup_requires directive in Distribution attributes and metadata. Fixes #239.
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index dac4dfa8..8b36f67c 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -259,7 +259,7 @@ class Distribution(_Distribution):
self.dependency_links = attrs.pop('dependency_links', [])
assert_string_list(self,'dependency_links',self.dependency_links)
if attrs and 'setup_requires' in attrs:
- self.fetch_build_eggs(attrs.pop('setup_requires'))
+ self.fetch_build_eggs(attrs['setup_requires'])
for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
if not hasattr(self,ep.name):
setattr(self,ep.name,None)