diff options
author | PJ Eby <distutils-sig@python.org> | 2005-08-07 01:03:36 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-08-07 01:03:36 +0000 |
commit | 57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782 (patch) | |
tree | a5f039a161f5ce6bc815bb59403400f27fe92a45 /setuptools/package_index.py | |
parent | 899e59ff5150705852f15f90fddbfedf7544bec1 (diff) | |
download | external_python_setuptools-57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782.tar.gz external_python_setuptools-57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782.tar.bz2 external_python_setuptools-57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782.zip |
Renamed AvailableDistributions -> Environment. Add sketch of pkg_resources
manual outline.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041184
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index d5013795..6ef185f0 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -121,11 +121,11 @@ def interpret_distro_name(location, basename, metadata, -class PackageIndex(AvailableDistributions): +class PackageIndex(Environment): """A distribution index that scans web pages for download URLs""" def __init__(self,index_url="http://www.python.org/pypi",*args,**kw): - AvailableDistributions.__init__(self,*args,**kw) + Environment.__init__(self,*args,**kw) self.index_url = index_url + "/"[:not index_url.endswith('/')] self.scanned_urls = {} self.fetched_urls = {} |