Pradyun Gedam
e938d439a2
Switch to a global variable for exit status codes
2018-09-20 11:18:17 +05:30
Laurie Opperman
10911fe881
Fix error when autocompleting after flag
...
When running autocomplete after any command-line option with unspecified
'metavar' attribute, a traceback for an 'AttributeError' would be
displayed. This is fixed for first checking if 'metavar' was defined.
Fixes #5751
2018-09-17 21:56:46 +10:00
Pradyun Gedam
885a000775
Disable pip's version check for commands that do not touch the index
2018-09-06 00:23:52 +05:30
Pradyun Gedam
0d9c05ec32
Merge pull request #5693 from sinscary/format_control_refactor
...
Refactoring: Move FormatControl to separate class
2018-09-04 19:03:24 +05:30
Nitesh Sharma
82b25ffe6c
sort imports properly
2018-09-02 23:25:14 +05:30
Nitesh Sharma
fd692f32ba
move format control to models and write parametrized test
2018-09-02 23:08:07 +05:30
Jonathan Herbert
bc41c03058
Remove unmatched bracket in --no-clean help string
2018-09-02 10:43:14 -04:00
Nitesh Sharma
6a6c2f2226
remove mutable default argument and implement not equal also
2018-08-28 22:51:12 +05:30
Nitesh Sharma
c6bf7acc97
fix linting errors
2018-08-28 22:05:18 +05:30
Nitesh Sharma
b818b8324d
refactor format control and rename test functions
2018-08-28 21:45:40 +05:30
Nitesh Sharma
e10a613212
Refactoring: Move FormatControl to separate class
...
This moves FormatControl named tuple and it's all related
methods to separate class.
Closes https://github.com/pypa/pip/issues/5592
2018-08-28 21:12:42 +05:30
Pradyun Gedam
a5a07fe61c
Move InstallRequirement.from_line to constructors module
2018-08-21 20:37:40 +05:30
Pradyun Gedam
69b494aa29
Move InstallRequirement.from_editable to a constructors module
2018-08-21 20:27:22 +05:30
Pradyun Gedam
20127bfe98
Merge pull request #5404 from sixninetynine/feature/platforms_for_target
...
Open up plat/abi/impl options to `install --target`
2018-08-12 22:09:01 +05:30
Loren Carvalho
cddcb1407f
Open up plat/abi/impl options to install --target
...
* Move dist restriction options to be re-usable (between install/download)
* Make dist restriction options usable in `install` (exclusively with --target)
* Add a check_supported_wheels bool to RequiriementSet for non-resolved (full path) dependencies
2018-08-05 16:13:20 -05:00
Pradyun Gedam
cc47adee9a
Change the import names as renamed
2018-08-05 14:24:18 +05:30
Pradyun Gedam
7dbe62ddd6
Move logic for parsing commands into a main_parser
2018-08-05 14:24:08 +05:30
Pradyun Gedam
db72d427c5
Move autocompletion logic out to pip._internal.cli.autocompletion
2018-08-05 14:24:07 +05:30
Pradyun Gedam
158c9bfe45
Move creation of CLI parser into pip._internal.cli
2018-08-05 14:24:07 +05:30
Pradyun Gedam
b13cee6388
Merge branch 'master' into refactor/pip-cli-subpackage
2018-07-30 09:52:18 +05:30
Pradyun Gedam
1694a5f1bf
Move status_codes to pip._internal.cli
2018-07-30 09:43:53 +05:30
Pradyun Gedam
8314dcb7d0
Rename baseparser to parser
2018-07-30 09:35:08 +05:30
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30
Pradyun Gedam
8b4713f63c
Move cmdoptions to pip._internal.cli
2018-07-29 18:26:33 +05:30
Pradyun Gedam
8d45e0e647
Move basecommand to pip._internal.cli
2018-07-29 18:26:28 +05:30
Pradyun Gedam
eb0c9670f8
Move baseparser into pip._internal.cli
2018-07-29 18:26:28 +05:30