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

17 commits

Author SHA1 Message Date
Paul Nasrat
5004c62bb7 Fix windows CI build tests.
On windows we can't assume os.getcwd returns url friendly format. Use
urllib pathname2url.
2012-06-03 14:40:59 +01:00
Marc Abramowitz
efe449576e Encapsulate write/buffer Python 2 vs. Python 3 check into a utility method (fwrite) in pip.backwardcompat.
Refs https://github.com/pypa/pip/pull/374#r285670
2011-12-27 09:26:33 -08:00
Marc Abramowitz
412daad2e2 Modify console_to_str to handle non-ASCII (UTF-8) input. 2011-10-25 21:56:36 -07: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
Paul Nasrat
2860dc7d41 Fix whitespace, etc for pep8 compliance
Reran tests after changes on 2.4, 2.6, 3.2 all pass.

=====================================================
================== Running pep8 =====================

Searching for pep8
Reading http://pypi.python.org/simple/pep8/
Reading http://github.com/cburroughs/pep8.py/tree/master
Reading http://github.com/jcrocholl/pep8
Best match: pep8 0.6.1
Processing pep8-0.6.1-py2.6.egg
pep8 0.6.1 is already the active version in easy-install.pth
Installing pep8 script to /Users/pnasrat/Development/pip/pip_virtualenv/bin

Using /Users/pnasrat/Development/pip/pip_virtualenv/lib/python2.6/site-packages/pep8-0.6.1-py2.6.egg
Processing dependencies for pep8
Finished processing dependencies for pep8

==================== Ended pep8 =====================
=====================================================
2011-05-04 08:44:02 +01:00
Alex Grönholm
1fdbce0685 Use the detected console encoding instead of utf-8 for decoding
console output
2011-03-23 01:24:25 +02:00
Vinay Sajip
680b5dfda0 Port to Python3 2011-03-15 15:49:48 -04: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
ac2bfb5f32 Fixed minor cosmetic issues to please pep8 tests. 2010-07-29 18:56:03 +02:00
Jannis Leidel
e91f167dfd Moved pkgutil to its own file to keep the backwardcompat module a little cleaner. 2010-07-26 19:31:49 +02:00
Jannis Leidel
94dfe26d36 Fixed using pkgutil for Python 2.4 by adding pkgutil itself to the backwardcompat module. 2010-07-26 18:53:59 +02:00
Hugo Lopes Tavares
3851210631 fixed version comparsion (right side) from strings to intergers 2010-06-03 16:17:46 -03:00
Hugo Lopes Tavares
c7129ea506 fixed python2.4 backwards compatibility 2010-06-03 15:44:34 -03:00
Jannis Leidel
03ff9faf76 Fixed #53 - Fixed backwards compat import error on Windows 2010-01-21 13:27:02 +01:00
Ian Bicking
77517e0724 Python 2.6 requires any=any to make the name importable 2009-11-20 15:03:14 -06:00
Ian Bicking
3e0f8fb780 Move all things pyflakes complains about into backwardcompat; extract the rmtree onerror logic into a separate function 2009-11-20 13:04:33 -06:00
Ian Bicking
493407a758 factor out any() 2009-11-20 01:10:46 -06:00