1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

55 commits

Author SHA1 Message Date
Alex Grönholm
47af6d4094 Append / to the PyPI URL to reduce unnecessary redirects 2012-10-02 21:19:56 +03:00
Marcus Smith
93bdb858d8 fix finder version sorting with Inf object 2012-09-25 07:56:09 -07:00
Marcus Smith
e066d36de8 don't add local dirs that are not findlinks to url list 2012-09-16 22:41:51 -07:00
Marcus Smith
af7bd9ccdb index file:// urls that are dirs should not have listdir run against them 2012-09-16 17:41:27 -07:00
Carl Meyer
f2df551094 Merge pull request #671 from pfmoore/develop
Fix for issue 670 (unorderable Link types under Python 3)
2012-09-10 18:20:56 -07:00
Paul Moore
1dee479184 Code changes for fix to issue 670 2012-09-10 21:04:00 +01:00
Carl Meyer
895bfee767 Allow --no-index and --find-links relative path in reqs file. 2012-09-10 00:48:48 -06:00
Paul Moore
04f01f227e Support local file paths in --find-links arguments 2012-09-09 21:15:32 +01:00
Phil Whelan
888ae41ccf stop get_mirrors returning 216k invalid hostname from Japan 2012-07-18 15:05:23 +09:00
Donald Stufft
b4737a4d13 modify the hashing functions so that they accept any of the guarenteed hashers 2012-05-26 17:56:26 -04:00
Carl Meyer
58ad223871 Fix issue #510 - prevent sdist filename matches on partial project names. Thanks casevh for the report. 2012-04-16 17:27:47 -06:00
Carl Meyer
d382a36cf6 Remove the poorly-named Link.url_fragment property. 2012-04-16 16:05:21 -06:00
W. Trevor King
c3d51bd891 Preserve the query portion of URL-type InstallRequirement URLs.
With this patch, install commands like:

  pip install 'http://foo.com/?p=bar.git;a=snapshot;h=v0.3;sf=tgz'

will work as expected.
2012-04-05 16:55:29 -04:00
dengzhp
ccad8dae62 use dummy_threading when the threading module is not present. 2012-02-13 14:40:28 +08:00
Rene Dudfield
885dc01a3b Yeah ('.zip') is not a tuple. doh. Applied wart remover. 2011-12-16 17:10:03 +01:00
Rene Dudfield
c8d11dee87 For issue #57 pip wrongly selects a macosx binary .zip file
Instead of a source file it downloads a binary macosx .zip file
which contains a binary installer.
2011-12-15 17:54:01 +01:00
Olivier Girardot
d1b787f961 fixes #310 and allows for versions like -py3 instead of -py2.6 or -py3.0 2011-12-12 00:07:25 -07:00
Carl Meyer
cdec82b5e6 Merge branch 'fix-issue-49' into develop 2011-10-22 23:50:19 -06:00
Hugo Lopes Tavares
04838268e1 Fix issue #366 - pip throws IndexError when it calls scraped_rel_links 2011-10-14 21:39:27 -03:00
Erik Bray
1ecda0db16 Fix --upgrade to leave already up-to-date packages alone. Add --force-reinstall to force reinstallation even of up-to-date packages, as was the prior behavior. 2011-08-24 14:07:16 -04:00
Paul Nasrat
e33be61bc3 Fix #297 adding deflate and gzip handling
Tested on py24, py27 and py32 and the failing tests on 3.2 go away, the content
we're getting back is still gzipped so this is a valid manual test.  Add
BytesIO to backwardcompat, fallingback to StringIO on py2x.

I'd like to get the CI build green then comeback and improve the testing around
this.  I've not added tests at the moment, but want to come back to that. There is
quite a lot of complexity around downloads split between pip.index and
pip.download.
2011-06-03 15:26:21 +01:00
Dan Sully
f73385adc5 Allow requirements.txt URLs to have egg= definitions. 2011-04-25 18:16:57 +02:00
Vinay Sajip
680b5dfda0 Port to Python3 2011-03-15 15:49:48 -04:00
Hugo Lopes Tavares
32defae98a merged with ianb`s repo 2011-02-13 16:41:06 -02:00
Hugo Lopes Tavares
dc765845c0 removed unused imports and unused vars 2011-02-12 00:47:31 -02:00
Jon Parise
39c264a526 Parse 'Foo-1.2' into ('Foo','1.2') instead of ('Foo','-1.2').
Previously, the dash was being included in the second match group.
2011-02-03 16:37:29 -08:00
Jannis Leidel
20da952052 Fixed retrieving the content type for Python 2.4. 2010-08-31 13:05:10 +02:00
Jannis Leidel
1cd231e54a Fixed issue #157 - use urllib2 for content type detection. 2010-08-31 02:17:59 +02:00
Jannis Leidel
e80c387a26 Added support for mirrors as defined in PEP 381. This feature is disabled by default and will query the DNS entry of the main mirror index URL to get a list of mirrors. Optinally can be passed a list of mirrors instead. 2010-08-16 01:46:23 +02:00
Jannis Leidel
4b5fc89706 Worked around another instance of the bug in the mimetypes lib documented in http://bugs.python.org/issue5853. 2010-08-10 12:04:40 +02:00
Hugo Lopes Tavares
6101f0f3bb moved pip.util functions `get_file_content, urlopen, is_url, url_to_path, path_to_url, path_to_url2, geturl and is_archive_file` to pip.download 2010-07-02 11:53:07 -03:00
Hugo Lopes Tavares
281e7ed6a9 removed unused variables and functions (pep8) 2010-06-08 21:03:48 -03:00
Carl Meyer
a3c91ae2d4 catch OSError on index fetch, for Python 2.4 Win 2010-06-04 12:51:11 -04:00
Carl Meyer
eff68029e3 merge installcommand/finder subclass hooks 2010-06-04 11:20:35 -04:00
Hugo Lopes Tavares
ab3ea6ec51 removed unused vars and imports 2010-06-03 21:58:16 -03:00
Hugo Lopes Tavares
d06c98dc6f merged changes related to PEP 8 from hltbra's fork 2010-06-02 23:25:26 -03:00
Dave Abrahams
6c68932526 Hooks for ryppl. The following are now encapsulated in overridable methods:
1. Construction of the install command's package finder
2. Derivation of available versions from links
2010-05-27 19:27:13 -04:00
Carl Meyer
735193d7c8 forgot to import WindowsError from compat 2010-05-27 17:42:36 -04:00
Carl Meyer
330986d464 Windows raises WindowsError out of urllib if a file:// url does not exist 2010-05-27 14:13:44 -06:00
Carl Meyer
d5e1b6ccec fixed appending of index.html to file:// urls that are directories 2010-05-27 15:53:51 -04:00
Carl Meyer
01f36c946b urlparse.urljoin is the public API; urllib.basejoin is an undocumented alias 2010-05-27 12:52:11 -04:00
Carl Meyer
1734bf0d6c better directory-ness checking for file: scheme index URLs 2010-05-27 12:36:40 -04:00
Carl Meyer
3d613eeec6 check file: urls for directory-ness in advance, rather than catching IOError 2010-05-26 00:06:45 -04:00
Carl Meyer
02090c9855 fix file-handling bug in _sort_locations 2010-05-25 22:43:16 -04:00
Ian Bicking
77f303bd41 minor whitespace and formatting stuff 2010-05-25 10:54:05 -05:00
Carl Meyer
6ce6f9e9f6 remove revision-from-repo 2010-05-25 16:09:42 -04:00
Dave Abrahams
f8555ddabd Explicitly request the identity encoding as insurance against http://bugs.python.org/issue8732 2010-05-19 16:01:41 -04:00
Dave Abrahams
0867fdc465 Implemented ability to request a revision by name from the repository.
(only supported on Git for now)
2010-04-12 15:54:37 -04:00
Dave Abrahams
26facddaa8 Skip over all VCS schemes that don't support lookup as webpages (not just SVN). 2010-05-18 14:33:13 -04:00
Dave Abrahams
2e2508d0fd Implemented installation from file://-scheme URIs.
Intended to fix http://bitbucket.org/ianb/pip/issue/114.  Probably
needs more comprehensive tests.

Workarounds for broken URL handling in Python standard libs; redirect
to index.html for file:// URLs

urlunsplit gets confused by '+', etc.
2010-05-17 20:33:13 -04:00