aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Backport PyPI regex change.PJ Eby2006-07-201-2/+2
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050735
* EasyInstall now includes setuptools version information in thePJ Eby2006-07-201-6/+6
| | | | | | | | ``User-Agent`` string sent to websites it visits. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050733
* Suppressed warning message about possibly-misspelled project name, if an eggPJ Eby2006-07-111-13/+13
| | | | | | | | | or link for that project name has already been seen. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050581
* Reduce screenscraping required for a package index. Homepage andPJ Eby2006-07-111-25/+66
| | | | | | | | | | | | download URLs can now be marked with 'rel="download"' and 'rel="homepage"' respectively, and the 'Index of Packages' string is no longer required. Since PyPI doesn't yet support rel="" attributes, the old "<th>"-matching code remains, as does the MD5 scraping. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050557
* Allow ``file://`` URLs to be used as a package index. URLs that refer toPJ Eby2006-07-101-28/+28
| | | | | | | | | | directories will use an internally-generated directory listing if there is no ``index.html`` file in the directory. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050555
* Fix not recognizing HTML 404 pages from package indexes.PJ Eby2006-07-101-2/+2
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050552
* Fix ``ftp://`` directory listing URLs from causing a crash when used inPJ Eby2006-06-201-1/+1
| | | | | | | | | the "Home page" or "Download URL" slots on PyPI. (merged from the trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4047051
* Better ambiguity management: accept #egg name/version even if processingPJ Eby2006-05-121-7/+7
| | | | | | | | | | what appears to be a correctly-named distutils file, and ignore .egg files with no '-', since valid Python .egg files always have a version number (but Scheme eggs often don't). --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045984
* Ignore bdist_dumb distributions when looking at download URLsPJ Eby2006-04-211-7/+7
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045627
* Backport support for file:// directory URLs in --find-links to 0.6PJ Eby2006-04-191-7/+7
| | | | | | | | branch. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045556
* Added automatic retry for Sourceforge mirrors. The new download process isPJ Eby2006-04-091-9/+50
| | | | | | | | | | to first just try dl.sourceforge.net, then randomly select mirror IPs and remove ones that fail, until something works. The removed IPs stay removed for the remainder of the run. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4045219
* Fall back to a reasonable default Sourceforge address if the machine isPJ Eby2006-03-281-5/+5
| | | | | | | | unable to obtain the mirror IP list via DNS. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043413
* Fix a problem with fetch() method backward compatibility.PJ Eby2006-03-171-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043122
* Don't recurse into subdirectories when scanning --find-linksPJ Eby2006-03-031-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042822
* The ``--find-links`` option previously scanned all supplied URLs andPJ Eby2006-02-081-49/+49
| | | | | | | | | | | | directories as early as possible, but now only directories and direct archive links are scanned immediately. URLs are not retrieved unless a package search was already going to go online due to a package not being available locally, or due to the use of the ``--update`` or ``-U`` option. Also, fixed the ``develop`` command ignoring ``--find-links``. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042262
* The ``--always-copy`` option now skips "system" and "development" eggsPJ Eby2006-02-071-14/+55
| | | | | | | | | | | since they can't be reliably copied. Note that this may cause EasyInstall to choose an older version of a package than what you expected, or it may cause downloading and installation of a fresh version of what's already installed. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042260
* Randomly select a SourceForge mirror IP for each download, to workPJ Eby2006-01-231-6/+16
| | | | | | | | | around too-aggressive DNS caches on some platforms, that could otherwise result in a stuck bad IP. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042156
* Scrape-proof Sourceforge mirror processing!PJ Eby2006-01-171-40/+60
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042088
* Fix editing error (reported by Ian Bicking).PJ Eby2006-01-171-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042087
* More sourceforge changes. :(PJ Eby2006-01-171-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042086
* EasyInstall can now download bare ``.py`` files and wrap them in an egg,PJ Eby2006-01-101-31/+83
| | | | | | | | | | | | as long as you include an ``#egg=name-version`` suffix on the URL, or if the ``.py`` file is listed as the "Download URL" on the project's PyPI page. This allows third parties to "package" trivial Python modules just by linking to them (e.g. from within their own PyPI page or download links page). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041995
* PyPI searches now use the exact spelling of requirements specified onPJ Eby2006-01-071-6/+6
| | | | | | | | | | | the command line or in a project's ``install_requires``. Previously, a normalized form of the name was used, which could lead to unnecessary full-index searches when a project's name had an underscore (``_``) in it. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041942
* 0.6a8 final.PJ Eby2005-11-161-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041459
* Update for SourceForge's changed mirror page formatsPJ Eby2005-11-161-7/+7
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041458
* Reduce the number of redundant host blocking warnings by notPJ Eby2005-11-041-1/+1
| | | | | | | | retrying the same previously-blocked URLs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041395
* Added "--allow-hosts" option to restrict downloading and spidering toPJ Eby2005-10-191-22/+22
| | | | | | | | a specified list of server glob patterns. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041266
* Fix a bug parsing #egg links reported by Ben Bangert on the distutils-sig.PJ Eby2005-09-241-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041251
* Correctly handle URL fragments in --find-links.PJ Eby2005-09-141-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041241
* Implemented md5 validation for PyPI and for URLs with a "#md5=..." anchor.PJ Eby2005-08-221-30/+30
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041219
* Document the "Environment" class, and simplify its API.PJ Eby2005-08-141-2/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041194
* Fix bugs reported by Ian Bicking, Walter Doerwald, and Vincenzo Di Massa.PJ Eby2005-08-111-3/+3
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041189
* Renamed AvailableDistributions -> Environment. Add sketch of pkg_resourcesPJ Eby2005-08-071-2/+2
| | | | | | | | manual outline. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041184
* Implement --editable option, which allows you to just download and extractPJ Eby2005-07-241-24/+24
| | | | | | | | | (or check out from Subversion) one or more source distributions, without actually building or installing them (or their dependencies). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041147
* Massive API refactoring; see setuptools.txt changelog for details. Also,PJ Eby2005-07-181-40/+40
| | | | | | | | | add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041135
* The ``path`` attribute of ``Distribution`` objects is now ``location``,PJ Eby2005-07-171-4/+4
| | | | | | | | | | | because it isn't necessarily a filesystem path (and hasn't been for some time now). ``Distribution`` objects now have an ``as_requirement()`` method that returns a ``Requirement`` for the distribution's project name and version. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041134
* Renamings for consistent terminology; distributions and requirements nowPJ Eby2005-07-171-2/+2
| | | | | | | | | | | | | 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
* Fix bugs and implement features reported/requested by folks on thePJ Eby2005-07-121-21/+62
| | | | | | | | Distutils-SIG. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041117
* Detect and handle conflicts with "unmanaged" packages when installingPJ Eby2005-07-101-7/+7
| | | | | | | | | packages managed by EasyInstall. Also, add an option to exclude source files from .egg distributions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041109
* Add upload support to setuptools, and make default downloads of setuptoolsPJ Eby2005-07-071-12/+12
| | | | | | | | | come from PyPI/python.org rather than from telecommunity.com. Bump to version 0.5a7. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041090
* EasyInstall/setuptools 0.5a4: significant new features, including automaticPJ Eby2005-06-271-14/+55
| | | | | | | | | installation of dependencies, the ability to specify dependencies in a setup script, and several new options to control EasyInstall's behavior. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041073
* 0.5a3 bugfix releasePJ Eby2005-06-251-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041072
* Fix stupid typos.PJ Eby2005-06-151-2/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041071
* Add support for installing from .win32.exe's created by distutils (byPJ Eby2005-06-151-17/+58
| | | | | | | | converting them to eggs). Bump version to 0.5a1. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041070
* Add support for quiet/verbose/dry-run/optimize flags.PJ Eby2005-06-141-4/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041064
* Support downloading packages that were uploaded to PyPI (by scanning allPJ Eby2005-06-141-4/+4
| | | | | | | | links on package pages, not just the homepage/download links). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041062
* Add lots of progress messages, so people know what the package search isPJ Eby2005-06-141-37/+78
| | | | | | | | doing. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041056
* Move package index/downloading stuff to setuptools.package_index module.PJ Eby2005-06-121-0/+369
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041051