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
Marcus Smith
11ebe011dc
warn before installing if no ssl module
2013-02-06 00:47:01 -08:00
Marcus Smith
cabd1d5f80
merge with pypa/pip/develop
2013-02-02 22:40:30 -08:00
Marcus Smith
0e7c239cfb
another case for our shutil.rmtree onerror function
2013-01-22 00:42:18 -08:00
Marcus Smith
8a2d220fff
get_installed_distributions docstring update
2012-12-17 22:02:01 -08:00
Marcus Smith
aeecefcd22
use editable logic in FrozenRequirement
2012-12-17 21:55:59 -08:00
Marcus Smith
3d87366dac
editables_only option for util.get_installed_distributions
2012-12-15 23:22:53 -08:00
Marcus Smith
e752906ff0
include_editables option for util.get_installed_distributions
2012-12-15 22:50:13 -08:00
Marcus Smith
be12f79ab4
merge pypa/develop
2012-10-25 12:51:07 -07:00
Marcus Smith
74338676f5
Guard the chmod in case external_attr is 0.
2012-10-11 20:35:02 -07:00
Marcus Smith
758c3368e9
finder link priority
2012-10-10 21:49:29 -07:00
Daniel Holth
aa5b33dbf4
experimental support for installing wheel archives
2012-10-01 22:50:24 -07:00
Marcus Smith
4ea13f474c
Inf py3x compatibility and tests
2012-09-23 14:46:22 -07:00
enoch
5230dd2016
修复配置PATHEXT最后一个字符如果是分号的情况。
2012-09-05 18:04:09 +08:00
Jannis Leidel
7760a01ddc
Simplified get_prog to not trigger any exception.
2012-09-01 21:14:07 +02:00
Jannis Leidel
7492f9c23a
Safeguard against sys.argv not existing.
2012-09-01 21:06:29 +02:00
Jannis Leidel
5c3f415f23
Trying to fix a werid test failure.
2012-09-01 20:58:39 +02:00