Berker Peksag
eee2334c92
Silence byte compile errors when installation succeed.
...
Fixes #1873 .
2014-08-21 16:40:02 +03:00
Michael E. Karpeles
b379f0364d
remove duplicate 'if cr == (0, 0):' in get_terminal_size
2014-07-17 02:56:32 -07:00
Daniel Holth
7c652cb07e
improved ability to install into non-ASCII directories
2014-07-10 23:50:43 -04:00
Donald Stufft
53faeece34
Clean up some no longer needed compatability code
2014-07-03 12:20:03 -04:00
Donald Stufft
9b11ed231c
Merge pull request #1854 from Ivoz/compat-cleaning
...
Remove unnecessary imports, move some to six
2014-06-16 12:06:21 -04:00
Donald Stufft
169379d839
Fix #1319 - Allow use of Zip64 extension
2014-06-13 07:15:03 -04:00
Matthew Iversen
b7770c502a
Remove unnecessary imports, move some to six
2014-06-07 04:21:51 +10:00
Matthew Iversen
dcb0ee0702
Move backwardcompat package to compat module
2014-05-14 13:10:06 +10:00
Donald Stufft
52ca02608e
Use CacheControl instead of custom cache code
...
* Deprecates the --download-cache option & removes the download
cache code.
* Removes the in memory page cache on the index
* Uses CacheControl to cache all cacheable HTTP requests to the
filesystem.
* Properly handles CacheControl headers for unconditional
caching.
* Will use ETag and Last-Modified headers to attempt to do a
conditional HTTP request to speed up cache misses and turn
them into cache hits.
* Removes some concurrency unsafe code in the download cache
accesses.
* Uses a Cache-Control request header to limit the maximum
length of time a cache is valid for.
* Adds pip.appdirs to handle platform specific application
directories such as cache, config, data, etc.
2014-05-09 18:28:20 -04:00
Donald Stufft
f79ca70c66
Remove the bundle functionality from pip
2014-05-08 16:09:23 -04:00
Alex Gaynor
15e46c6be9
Wordwrap to appease the great flake8 in the sky
2014-05-02 20:24:39 -07:00
Alex Gaynor
48266149fb
Random change to trigger tests
...
But for real, oxford comma best comma.
2014-05-02 09:10:34 -07:00
Alex Gaynor
b48b9ce53f
Resolve several typos in the codebase
2014-04-29 22:33:04 -07:00
RobberPhex
8a86fd3ced
Fix a PEP8 error
2014-04-23 13:42:42 +08:00
RobberPhex
f355623a70
rmtree_errorhandler will delete read-only file
2014-04-23 02:28:37 +08:00
Matthew Iversen
5d30c43fff
Add back user_site
for locations and util
2014-04-16 07:59:56 +10:00
Matthew Iversen
bcc1a4018c
Move site.USER_SITE and sysconfig out of backwardcompat
...
2.6 always has these now :D
2014-04-16 06:13:08 +10:00
Donald Stufft
5a76a47d3b
Fix code to handle the latest flake8
2014-03-26 18:24:19 -04:00
Donald Stufft
4087145c09
Merge pull request #1413 from techtonik/patch-1
...
util.py: quote failed command for readability
2014-03-07 12:05:37 -05:00
Marcus Smith
bff390eb1e
pkg exclusions for pip list/freeze
2014-02-28 20:09:26 -08:00
Donald Stufft
95035fc5c4
Turn on everything in flake8
...
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Donald Stufft
2743768b7b
Fix the style of the code base to better match pep8
2014-01-27 14:11:29 -05:00
Donald Stufft
30204be35b
Remove uses of sys.exc_info()[1]
...
Using sys.exc_info()[1] is a hack that was used to use a shared
source approach to Python 3.x support that also included versions
of Python that didn't include the except ... as exc: construction.
Pip no longer supports any of these versions of Python so we can
remove it.
2014-01-27 08:02:10 -05:00
Marcus Smith
a7c522da97
fix references to req methods/classes after refactor
2014-01-12 10:05:11 -08:00
Marcus Smith
a135af5301
initial breakup of req.py
2014-01-11 16:50:11 -08:00
Marcus Smith
d680fd4f1f
merge from 1.5.X
2014-01-11 16:28:00 -08:00
Donald Stufft
073ae0d0b1
Switch to importing the vendored pkg_resources
2014-01-07 04:47:04 -05:00
anatoly techtonik
aba1c9dff9
util.py: quote failed command for readability
2014-01-01 13:35:03 +03:00
Marc Abramowitz
a68cb33b06
Make freeze ignore wsgiref
2013-12-05 21:54:55 -08:00
Marcus Smith
c4b8c10d65
add 'distribute' to default skip list for installed dists
2013-11-15 16:24:49 -08:00
Donald Stufft
814514e1bd
Rename pip.vendor.* to pip._vendor.* to ensure it's obviously private
2013-10-22 21:32:25 -04:00
Paul Moore
a797cafd8b
Re-vendor distlib and modify normalized version handling to match
2013-10-22 14:07:23 +01:00
Marcus Smith
35ac774ec5
multi-values use space seperators in environment variables.
2013-09-15 18:09:36 -07:00
Marcus Smith
1f989ff32e
merge from 1.4.X
2013-08-19 21:23:39 -07:00
Marcus Smith
65007e3c65
when unpacking archives, don't preserve permissions except execution for regular files
2013-08-17 00:18:40 -07:00
Monty Taylor
f38ecf72d9
Add os.path.expanduser call to normalize_path.
...
realpath by itself won't expand tildes, which could lead to things like:
pip wheel --wheel-path=~/wheels -r requirements.txt
Producing:
Destination directory: /home/foo/src/dir/~/wheels
Which is pretty much never what you wanted.
2013-07-02 19:23:04 -07:00
Marcus Smith
6e32b21b04
correct wheel extension: '.whl'
2013-06-27 23:10:36 -07:00
y-p
42102e9dea
unpack_file should use flatten=False for .whl files GH1011
2013-06-26 22:02:27 +03:00
Carl Meyer
b3a791223c
Cached or already-downloaded files with bad hashes are ignored.
2013-05-30 17:00:10 -06:00
Marcus Smith
be6ba96479
add missing PermissionError import
2013-05-07 20:46:26 -07:00
Donald Stufft
74fa3e2707
Assume versions are a pre-release if we cannot parse them
...
* The most likely unparseable version is something like "dev" or
"py6-dev" etc. The number of sane version numbers that are
not normalizable and should be conisdered stable are fairly low.
2013-04-23 09:06:06 -04:00
Marcus Smith
6e2bfe8323
remove python 2.5 logic
2013-04-17 22:50:22 -07:00
Marcus Smith
00fa9bea96
merge with develop
2013-03-15 23:46:46 -07:00
Donald Stufft
9936d6b424
Switch to using a fully vendored distlib inside of pip.vendor
...
* Includes helper scripts to maintaing pip.vendor
2013-03-09 14:36:16 -05:00
Donald Stufft
4d5c5f8f97
Only install stable releases by default
...
* Adds the --pre flag to pip install to specify that you wish
to install pre-releases
* If the version spec contains any pre-releases then continue to
install pre-releases
2013-03-09 10:27:19 -05:00
Marcus Smith
889e1a02b8
custom NoSSLError exception instead of util function
2013-02-18 13:17:54 -08:00
Marcus Smith
2cbc7fadcd
improve ssl exception text and docs
2013-02-18 00:30:05 -08:00
Marcus Smith
4a4a141c21
from --allow-no-ssl to --insecure
2013-02-17 22:43:17 -08:00
Marcus Smith
456ea8087a
fix param name in exception message
2013-02-07 22:17:52 -08:00
Marcus Smith
84964064a3
--cert-path and --no-ssl options
2013-02-06 23:27:53 -08:00