diff options
author | PJ Eby <distutils-sig@python.org> | 2005-07-17 04:42:42 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-07-17 04:42:42 +0000 |
commit | 30f1c5ad93e21ec007d371313e2a27e4d0efb661 (patch) | |
tree | b809540a247a26776845a6f9a96c91a20f983af1 /setuptools/package_index.py | |
parent | c8ebbe361890f4c0a34d7c3c64aefb34c6fed3e6 (diff) | |
download | external_python_setuptools-30f1c5ad93e21ec007d371313e2a27e4d0efb661.tar.gz external_python_setuptools-30f1c5ad93e21ec007d371313e2a27e4d0efb661.tar.bz2 external_python_setuptools-30f1c5ad93e21ec007d371313e2a27e4d0efb661.zip |
Renamings for consistent terminology; distributions and requirements now
both have 'project_name' attributes, instead of one having 'name' and the
other 'distname'. Requirements no longer have 'options', they have
'extras'. This is the beginning of the terminology/architecture
refactoring described at:
http://mail.python.org/pipermail/distutils-sig/2005-June/004652.html
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041132
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 5412fd1f..f553c2da 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -245,12 +245,12 @@ class PackageIndex(AvailableDistributions): def find_packages(self, requirement): - self.scan_url(self.index_url + requirement.distname+'/') + self.scan_url(self.index_url + requirement.project_name+'/') if not self.package_pages.get(requirement.key): # We couldn't find the target package, so search the index page too self.warn( "Couldn't find index page for %r (maybe misspelled?)", - requirement.distname + requirement.project_name ) if self.index_url not in self.fetched_urls: self.warn( |