aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Backport SF download fixPJ Eby2010-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4077904
| * | | | Backport to 0.6PJ Eby2009-11-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4076123
| * | | | Fix for issue 88PJ Eby2009-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4075926
| * | | | Major updates and fixes include:PJ Eby2009-10-121-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix for the Python 2.6.3 build_ext API change * Support for the most recent Sourceforge download link insanity * Support for SVN 1.6 * Stop crashing on certain types of HTTP error * Stop re-trying URLs that already failed retrieval once * Fixes for various dependency management problems such as looping builds, re-downloading packages already present on sys.path (but not in a registered "site" directory), and randomly preferring local -f packages over local installed packages * Prevent lots of spurious "already imported from another path" warnings (e.g. when pkg_resources is imported late) * Ensure C libraries (as opposed to extensions) are also built when doing bdist_egg Other changes: * Misc. documentation fixes * Improved Jython support * Fewer warnings under Python 2.6+ * Warn when 'packages' uses paths instead of package names (because it causes other problems, like spurious "already imported" warnings) * Stop using /usr/bin/sw_vers on Mac OS (replaced w/'platform' module calls) Note: This is NOT a merge from Distribute; upon review, many of the tracker-submitted patches used as a basis for forking were incorrect, incomplete, introduced new bugs, or were not addressing the root causes. (E.g., one of the changes in this patch fixes three superficially unrelated issues in the setuptools bug tracker.) Careful review will be required if you want to merge this work back into Distribute. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4075385
* | | | | Merge package_index moduleJason R. Coombs2013-03-201-27/+59
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge
| * | | | | Copy changes to package_index from 1aae1efe5733Jason R. Coombs2013-03-201-36/+77
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : db6acae7b8cfb92007fe8e7ae4f392481b080a00
* | / / / Backed out distribute-specific references in package_index moduleJason R. Coombs2013-03-031-2/+2
| |/ / / |/| | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 619f12674c8d42831a59dc805b7b9cbf375a831d
* | | | This one also failed on Windows.Stefan H. Holek2012-10-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c26a4318302d55dfdd67d379525e84172b440b82
* | | | Merged in pkoch/distribute (pull request #21)Jason R. Coombs2012-10-231-0/+53
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 1e4ad7f02d0718b3665aa2e2405721d64e42fc1b
| * | | Make revision specifiable.Paulo Koch2012-09-131-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 059208b9bdcd9a0cf2c2f654f25b638a65f2d9d1
| * | | Add support for Mercurial URLs.Paulo Koch2011-10-111-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7c33d5bea70d9300cff635646988b13c007e24c9
| * | | Add support for git URLs.Paulo Koch2011-10-111-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : f664e8cf2b7b6f78096cd00463f4e2009bdeb3ac
* | | | Fix cause of test failure on Mac OS X. Refs #20.Stefan H. Holek2012-10-091-1/+7
|/ / / | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 92ba8151d6dfa3755b31139a9b5ada570183731d
* | | Fix issue #262 - package_index.open_with_auth no longer throws LookupError ↵Jason R. Coombs2011-12-011-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | on Python 3. --HG-- branch : distribute extra : rebase_source : ae4a0886ff89d3679f495f51171f94d3770e5d47
* | | Merge (discarding b825c6440dc6)Jason R. Coombs2011-08-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 5190d1f30b60efbc0cc70a96807c1b269abd1897
| * | | Remove extraneous 2nd argument in call to open_url, apparently intended toAlex Clark2011-08-141-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | issue a warning (looks like open_url takes an optional `warning` argument, but I couldn't get that to work either). Fixes #135. This fix is better than the status quo, but probably not as good as issuing a warning instead of failure. --HG-- branch : distribute extra : rebase_source : 39889bf4dd21abbd57207bfafe6f8bad68b1e46f
* / | Include url in warning when processing URL. Fixes #135.Jason R. Coombs2011-08-171-1/+1
|/ / | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 1241e1cb548adad562fcf61ce33538712a64aaed
* | make sure we don't use getheaders(). get() works for all py versions - fixes ↵0.6.19Tarek Ziade2011-06-021-1/+1
| | | | | | | | | | | | | | | | #206 --HG-- branch : distribute extra : rebase_source : c9e414a0642dd5b2222dd3fc4aa1b11a442e48a1
* | Tolerate responses with multiple Content-Length headers - fixes #196Tarek Ziade2011-05-161-1/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : b0f0f73fd59017dd9a9bb6e58b2a1fd9e5773dd2
* | Fixing #200agroszer2011-04-151-4/+13
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4446e76a0bcf2e968abce2020569aecbaab1df01
* | We need to make sure that the result is always a str, even if the result is ↵Lennart Regebro2010-11-221-2/+6
| | | | | | | | | | | | | | | | | | | | an error response. Otherwise you get an error when trying to pattern match in line 206. --HG-- branch : distribute extra : rebase_source : dc5fe8b1365544fc763414b67227cc78dc1f8524
* | Only do the decoding if there is something to decode.Lennart Regebro2010-07-241-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6510b361ce8885f536a3babfc66a7ebdfaa25b2d
* | Importing url2pathname from the correct place, so 2to3 can do it's job.Lennart Regebro2010-07-241-3/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 43178821d2b4776dbfdf5ad9493bca8dc401b048
* | merging changes relates #142Tarek Ziade2010-07-031-4/+11
|\ \ | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : e912f048dcfe28a5a7a17aca89bab427e15924ff
| * | BUG: Fix #142 - easy_install ignore locally installed packages.David Cournapeau2010-05-201-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | Backport from setuptools 0.6c10. --HG-- branch : distribute extra : rebase_source : d06cbdae906a725410d4993d9e1a631e2acac345
* | | fixed issue 163 : don't include md5 when comparing two distributions, and scanChristophe Combelles2010-05-191-2/+2
|/ / | | | | | | | | | | | | | | index links before external page links. --HG-- branch : distribute extra : rebase_source : d190057280e7cb27317eb4aa40e75f1c851ed6e5
* | malformed urls in 2.7 are catched now - fixes #160Tarek Ziade2010-05-191-1/+4
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : de334e49e876c8ea88f738e03995a461ea669879
* | Introduced a socket timeout of 15 seconds on url openings fixes #48tarek2009-12-191-0/+15
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : d4e3831771aa049e71d64f22e315352fa8906dd1
* | Issue 21: Allow PackageIndex.open_url to gracefully handle all cases of a ↵Hanno Schlichting2009-10-241-0/+6
| | | | | | | | | | | | | | | | httplib.HTTPException instead of just InvalidURL and BadStatusLine. --HG-- branch : distribute extra : rebase_source : 24986ae1074b564fbd8c34a227265afd3b90ebce
* | Changed file() calls to open() callsagronholm2009-09-271-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : a2567f3f28d896dd0abbbed8a2626cc4ecb3e44e
* | Only decode HTML pages in 3.x.Martin v. Löwis2009-09-131-2/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 58a286fe297947272398fc9ddd8f50594f54d4ae
* | Convert HTML pages to text.Martin v. Löwis2009-09-131-0/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9ab9cc8b84da2be50c520cd6f23efb15b8744bd9
* | Shortcut User-agent computation, as 2to3 won'tMartin v. Löwis2009-09-111-1/+1
| | | | | | | | | | | | | | | | update urllib2.__version__ correctly. --HG-- branch : distribute extra : rebase_source : 9035aa6fb13225181f7ce22429efa91c771247a6
* | fixed #20 - catching invalid URL error from httplibtarek2009-08-281-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6c6a92f65f6ac2d6d071ce525d0ef3e41167d59e
* | fixed #16 and #18: BadStatusLine and ValueError in package_index.urlopentarek2009-08-261-1/+16
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6159cf23c0dc4effd40b525066266eefd292b96e
* | The User-Agent is also changed to Distributetarek2009-07-211-2/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7a440abb08d1202a09ea2a0e46cac2568df2c759
* | Apply patch from pjenvey. Closes #3.Hanno Schlichting2009-07-161-1/+3
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 3a61d0692c74559b140c179dcc5f4ac4905bb982
* Fix for http://bugs.python.org/setuptools/issue29 (backport from trunk)PJ Eby2008-08-211-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065953
* Fix for http://bugs.python.org/setuptools/issue5 (backport from trunk)PJ Eby2008-08-211-4/+4
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065945
* Fix for http://bugs.python.org/setuptools/issue7 (backport from trunk)PJ Eby2008-08-211-2/+2
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065943
* The default ``--index-url`` is now ``http://pypi.python.org/simple``, toPJ Eby2007-09-041-1/+1
| | | | | | | | | use the Python Package Index's new simpler (and faster!) REST API. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4057965
* ``ftp:`` download URLs now work correctly. (backport from trunk)PJ Eby2007-08-241-2/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4057371
* Backport fixes and doc updates; prep for 0.6c6 releasePJ Eby2007-05-311-4/+44
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4055712
* Changed setuptools.package_index.PackageIndex.open_url to include theJim Fulton2007-03-091-1/+3
| | | | | | | | url in the exception. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4054241
* Added ``--local-snapshots-ok`` flag, to allow building eggs fromPJ Eby2007-02-231-14/+14
| | | | | | | | projects installed using ``setup.py develop``. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053877
* EasyInstall no longer aborts the installation process if a URL it wants toPJ Eby2007-01-241-5/+5
| | | | | | | | | | retrieve can't be downloaded, unless the URL is an actual package download. Instead, it issues a warning and tries to keep going. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053542
* Add Basic Auth support for http URLs with embedded credentials. If anPJ Eby2006-12-301-3/+44
| | | | | | | | | authenticated page contains links to the same protocol and host, those links should inherit the same credentials. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053203
* Removed all special support for Sourceforge mirrors, as Sourceforge'sPJ Eby2006-12-291-99/+17
| | | | | | | | | mirror system now works well for non-browser downloads. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053178
* Allow explicit selection of Sourceforge mirror(s) with ``--sf-mirror``, andPJ Eby2006-09-271-32/+73
| | | | | | | | | further refine download/retry algorithm. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052013
* Fixed SF downloads aborting when a SF mirror returns an HTML page when itPJ Eby2006-09-251-22/+22
| | | | | | | | | | should've returned a 404. Fall back to ``sf-mirrors.telecommunity.com`` round-robin address for SF mirrors if ``dl.sourceforge.net`` doesn't work. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052004