Commit Graph

84 Commits

Author SHA1 Message Date
Daniel Shaulov d67d98dd91 Add a --prefer-binary flag. (#5370)
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.

Fixes #3785.
2018-05-11 11:17:32 +05:30
Pradyun Gedam 3e7a66c070
Don't advice about --verbose (it'ss obvious) 2018-04-17 14:56:57 +05:30
Pradyun Gedam 4a1c7b891f
Print Better Error Messages on EnvironmenErrors while running pip install.
This fixes various issues with the current logic and splits out the
message generation into a separate unit-test-able function.

Improvements:
- Does not not-print any information in some cases
- Mentions original error message, or entire traceback if verbose.
- In case of permission/access errors, suggests the user to use --user
  and/or check permissions
2018-04-17 14:56:44 +05:30
Paul Moore 22c8656b57 Don't warn about script locations if --target is specified 2018-04-10 18:07:53 +01:00
Pradyun Gedam 607f5dde9c
Use the correct way to format default in optparse 2018-04-01 12:06:29 +05:30
Pradyun Gedam 3d7fbb31a9
Merge branch 'master' into resolver/warn-after-resolution 2018-03-27 20:10:56 +05:30
Paul Moore 87bb4f9c13 Hide --no-user option 2018-03-26 12:01:27 +01:00
Paul Moore 17e0d115e8 Fix for issue 5085 (--user set in config causes pip wheel to fail) 2018-03-25 18:22:18 +01:00
Pradyun Gedam c08d4cc806
Add --no-build-isolation for disabling build isolation 2018-03-09 00:01:26 +05:30
Pradyun Gedam 851518b17a
Merge branch 'refactor/reduce-action-at-distance' into resolver/warn-after-resolution 2018-03-03 02:51:37 +05:30
Pradyun Gedam 255a518157
Merge branch 'master' into refactor/reduce-action-at-distance 2018-03-03 02:08:01 +05:30
Pradyun Gedam 3b7dd50a62
Merge pull request #4977 from pradyunsg/misc/verbosity-properly
Add a verbosity attribute to basecommand
2018-03-01 23:17:06 +05:30
Pradyun Gedam 045e244b7e
Run pip check in pip install
Also, add --no-warn-conflicts option to allow supressing the error messages generated.
2018-01-24 18:16:18 +05:30
Pradyun Gedam 5ae396d188
Merge branch 'refactor/reduce-action-at-distance' into resolver/warn-after-resolution 2018-01-24 17:36:30 +05:30
Pradyun Gedam 2e5715e3bb
Move installation order computation into Resolver 2018-01-24 17:17:24 +05:30
Pradyun Gedam 01b2b856b6
Move installation order code out of RequirementSet 2018-01-24 17:17:24 +05:30
Pradyun Gedam 01c985a663
Reduce classes with pycompile attribute 2018-01-21 16:16:43 +05:30
Pradyun Gedam b1cb27d34e
Reduce classes with target_dir attribute 2018-01-21 16:16:42 +05:30
Pradyun Gedam de7d42feb9
Reduce classes with use_user_site attribute 2018-01-21 16:16:19 +05:30
Pradyun Gedam 5958c947b6
Add a verbosity attribute to basecommand 2018-01-20 16:29:22 +05:30
Pradyun Gedam cd14240529
Merge branch 'master' into cache/ephem-wheel-cache 2017-12-01 19:16:27 +05:30
Pradyun Gedam 353a13ddff
isort: Include trailing commas 2017-11-21 13:23:59 +05:30
Pradyun Gedam 01d97e71f0
Merge branch 'master' into cache/ephem-wheel-cache 2017-11-17 12:32:40 +05:30
Pradyun Gedam 24fd884672
Decouple WheelBuilder from RequirementSet (#4860) 2017-11-16 15:16:21 +05:30
Anthony Sottile 3651dd8687 Update comment now that `-d` is not an install option (#4851) 2017-11-12 19:53:18 +05:30
Pradyun Gedam e36bb6d5c3 Merge branch 'master' into cache/ephem-wheel-cache 2017-10-24 15:44:43 +05:30
Chris Jerdonek b112292068 Address issue #1139: make --force-reinstall not require --upgrade (#4432)
* Add failing tests for issue #1139 re: --force-reinstall.

* Address issue #1139: make --force-reinstall not require --upgrade.

* Address review comments.

* Address @xavfernandez's review comments.

This makes the new tests not require network access.
2017-10-24 00:03:20 +02:00
Pradyun S. Gedam 165b10b9db Rework Wheel Caching 2017-10-04 18:53:55 +05:30
Pradyun S. Gedam ebf06ceb9d Merge master 2017-10-04 16:58:31 +05:30
Pradyun Gedam fc7ca26489 Warn user when installing scripts outside PATH (#4553) 2017-10-02 17:54:37 +01:00
Donald Stufft d1379fa336 Merge pull request #4684 from pradyunsg/misc/remove-redundant-import
Remove a redundant import
2017-09-07 12:55:03 -04:00
Pradyun S. Gedam c6cce8509d Remove a redundant import
The linters missed it. Funny.
2017-09-07 16:50:13 +05:30
Pradyun S. Gedam 1240a81b50 Get rid of successfully_installed attr 2017-09-07 00:06:26 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Renamed from pip/commands/install.py (Browse further)