diff options
author | Daniel Holth <dholth@fastmail.fm> | 2012-07-07 23:24:20 -0400 |
---|---|---|
committer | Daniel Holth <dholth@fastmail.fm> | 2012-07-07 23:24:20 -0400 |
commit | b73bf20cea512d0d95a29db4fd9ed837130c54fc (patch) | |
tree | 660060a3cf5f4aa780c2d3fc932d226b4de1c865 /pkg_resources.py | |
parent | 0d5901c018dbccaa9bffc8902796b40a546f7f3d (diff) | |
download | external_python_setuptools-b73bf20cea512d0d95a29db4fd9ed837130c54fc.tar.gz external_python_setuptools-b73bf20cea512d0d95a29db4fd9ed837130c54fc.tar.bz2 external_python_setuptools-b73bf20cea512d0d95a29db4fd9ed837130c54fc.zip |
test .dist-info distributions
--HG--
branch : distribute
extra : rebase_source : ea6870d73aa69f2deacc50beb2e257d3c21073e4
Diffstat (limited to 'pkg_resources.py')
-rw-r--r-- | pkg_resources.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index 285aa1bb..27b9f834 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -2514,21 +2514,7 @@ class DistInfoDistribution(Distribution): dm[extra] = list(set(reqs_for_extra(extra)) - common) return dm - - def requires(self,extras=()): - """List of Requirements needed for this distro if `extras` are used""" - dm = self._dep_map - deps = [] - deps.extend(dm.get(None,())) - for ext in extras: - try: - deps.extend(dm[safe_extra(ext)]) - except KeyError: - raise UnknownExtra( - "%s has no such extra feature %r" % (self, ext) - ) - return deps - + _distributionImpl = {'.egg': Distribution, '.egg-info': Distribution, |