• PJ Eby's avatar
    Make ``AvailableDistributions`` keep track of the desired platform/python. · 6b7bb085
    PJ Eby authored
    Add a ``can_add()`` method that indicates whether a distribution matches
    the collection's desired platform and Python version.  Fix a bug in
    ``Distribution.from_filename()`` when the filename has no Python version.
    
    --HG--
    branch : setuptools
    extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041038
    6b7bb085
pkg_resources.py 45.2 KB