Marc Abramowitz
7eb00c97ea
"Running setup.py...egg_info" log: INFO => DEBUG
...
Change log level of `"Running setup.py (path:%s) egg_info"` log messages
from INFO to DEBUG. The average user does not know or care that pip is
running `python setup.py egg_info`, unless things are broken, IMHO.
See: GH-1070
2014-12-12 11:37:08 -08:00
Donald Stufft
5b817f960b
--isolated should isolate from ~/.pydistutils.cfg as well
2014-12-11 11:51:06 -05:00
Victor Stinner
e498d83db1
Support markers in requirements
...
It's now possible to specify requirements markers in requirements.
Examples::
futures; python_version < '2.7'
mock; python_version < '3.3'
nose
ordereddict; python_version < '2.7'
unittest2; python_version < '2.7'
The separator is "; ". For convinience, ";" alone is also supported, but
no in URLs. The ";" character is a legit and common character in an URL.
Example of valid URL without markers::
http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz
Example of URL with markers::
http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz ; python_version < '3.3'
2014-11-20 10:52:08 -05:00
Victor Stinner
e236842944
Fix issue #1433 : parse requirements in markers
...
* InstallRequirement supports PEP 426 markers
* RequirementSet.add_requirement() ignores an InstallRequirement if
markers don't match.
2014-11-20 10:52:08 -05:00
Xavier Fernandez
b713e96df2
cleanup: use "with open()" to open files
2014-10-18 20:41:18 +02:00
Toshio Kuratomi
9f9a07a447
Better detection of egg-info dirs
2014-10-06 03:21:52 -04:00
Toshio Kuratomi
416ca84bdf
Record files don't always include directories so find eggdir by looking for a file within it.
...
Fixes #2075
2014-09-29 13:51:01 -04:00
Donald Stufft
17448b92d0
InstallRequirement.absolute_versions is no longer required.
2014-09-25 22:15:43 -04:00
Donald Stufft
cc2a44e995
Normalize names in a URL
...
PyPI and Bandersnatch now normalize the project name in their
URLs. This change matches that and will reduce the number of
redirects we hit on PyPI and will reduce the need to hit /simple/
on a Bandersnatch mirror.
2014-09-18 07:11:31 -04:00
Donald Stufft
ec91d8e421
Move from pip.compat.* to six.moves.* for urllib related stuff
2014-09-11 18:40:45 -04:00
Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Donald Stufft
89fc318113
Merge pull request #1897 from paweljasinski/ironpython
...
detect windows when running under IronPython
2014-08-30 13:48:45 -04:00
Berker Peksag
a1ad3a6113
py2 fixes
2014-08-22 13:54:24 +03:00
Berker Peksag
0cb2991cf0
Strip tracebacks.
2014-08-22 13:47:36 +03:00
Berker Peksag
a79b854753
Revert show_stderr=False to investigate test failures.
2014-08-21 22:59:23 +03:00
Berker Peksag
97dbdd1a13
Add show_stderr parameter to call_subprocess.
2014-08-21 22:48:50 +03:00
Berker Peksag
42e4d11900
Cover more cases.
2014-08-21 18:28:12 +03:00
Pawel Jasinski
6e1abb91aa
detect windows when running under IronPython
2014-08-12 02:26:24 +02:00
Donald Stufft
aaa4bfcdbc
Merge pull request #1956 from qwcode/issue_1952
...
preserve the full vcs url when using `InstallRequirement.from_line`
2014-08-04 10:13:18 -04:00
Marcus Smith
4eb9e3297f
InstallRequirement.url should preserve the initial value for from_line requirements
2014-08-03 21:01:12 -07:00
Donald Stufft
90688e82b1
Revert "Merge pull request #1519 from dstufft/remove-dependency-links"
...
This reverts commit da02f073da
, reversing
changes made to 2ad8888901
.
Conflicts:
CHANGES.txt
pip/commands/freeze.py
pip/commands/list.py
pip/commands/wheel.py
pip/index.py
pip/req/req_set.py
pip/vcs/subversion.py
2014-08-01 16:50:08 -04:00
Daniel Holth
7c652cb07e
improved ability to install into non-ASCII directories
2014-07-10 23:50:43 -04:00
MinRK
c2e71e7ce6
query installed requirements for extras
...
fixes issue where egg_info('requires.txt') does not exist
for packages installed from wheels.
2014-06-25 22:45:28 -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
Marcus Smith
3d64db281b
merge 1.5.X into develop
2014-05-26 15:06:36 -07:00
Matthew Iversen
dcb0ee0702
Move backwardcompat package to compat module
2014-05-14 13:10:06 +10:00
Donald Stufft
f79ca70c66
Remove the bundle functionality from pip
2014-05-08 16:09:23 -04: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
Matt Good
30978a9bf3
Merge remote-tracking branch 'matt/patch-1' into develop
...
Conflicts:
pip/req.py
2014-03-27 22:47:50 -07:00
Donald Stufft
5a76a47d3b
Fix code to handle the latest flake8
2014-03-26 18:24:19 -04:00
Matthew Iversen
d3acfe0858
Use subdirectory as cwd if specified
2014-03-09 05:09:02 +11:00
Donald Stufft
95ac4c16f5
Remove dependency links support from pip
2014-02-25 18:39:40 -05: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
751eec65f3
Merge branch 'master' into develop
...
Conflicts:
CHANGES.txt
docs/configuration.rst
docs/cookbook.rst
docs/reference/pip.rst
docs/usage.rst
pip/__init__.py
pip/commands/install.py
pip/commands/wheel.py
pip/req.py
pip/wheel.py
tests/unit/test_wheel.py
2014-02-20 20:33:59 -05:00
Matthew Iversen
5a6855dcf1
Fix test logic, tiny error / import cleanup
2014-02-19 10:31:12 +11:00
Matthew Iversen
9f4f6738a5
Use find_on_path, extract compatibility check
2014-02-18 15:19:35 +11:00
Matthew Iversen
13f6c68f0c
Ensure wheel-Version is compatible with pip
2014-02-15 17:21:22 +11: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
48e1a0f480
fix req pkg imports
2014-01-11 22:50:07 -08:00
Marcus Smith
a135af5301
initial breakup of req.py
2014-01-11 16:50:11 -08:00