Stéphane Bidoul
e76eadc9d6
Pass freeze() kwargs directly
2021-01-02 13:46:55 +01:00
Stéphane Bidoul
93a51f1de3
The freeze operation does not need a wheel_cache
2021-01-02 13:43:56 +01:00
Jon Dufresne
f32adaf09b
Remove __future__ imports
...
Unnecessary since dropping Python 2.
2020-12-24 08:38:09 -08:00
Xavier Fernandez
9725229888
Add --exclude option to pip freeze and pip list commands
2020-10-30 21:50:59 +01:00
Xavier Fernandez
c33cf49381
freeze: deprecate option --find-links
2020-10-30 13:41:27 +01:00
gutsytechster
b82516c9ca
fix(_internal/commands): Define a default add_option to child commands
2020-05-23 14:55:37 +05:30
gutsytechster
72a42197a4
refactor(commands): Add method add_options and remove __init__
...
This removes the __init__ method of child classes and defines
explicit method for adding command options.
2020-05-23 14:50:57 +05:30
Devesh Kumar Singh
f7cd93a5de
Type annotations for pip._internal.commands.freeze
2020-05-19 12:45:22 +05:30
Pradyun Gedam
7e61569b1a
Drop --skip-requirements-regex
2020-04-20 22:37:25 +05:30
Chris Hunt
77e9b79d0e
Remove no-op calls to WheelCache.cleanup
2020-02-04 23:11:27 -05:00
Deepak Sharma
d31cf696e8
string_formatting
2020-01-30 20:33:00 +05:30
Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Chris Jerdonek
1f09e67f34
Only import a Command class when it is actually needed.
...
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Laszlo Kiss-Kollar
246130c48f
Consolidate `--path` parsing into `cmdoptions.py`
...
This option is used both in the `freeze` and `list` commands. The code
to parse the option and validate that it's not used with incompatible
arguments should be done in one place.
2019-06-13 09:37:16 +01:00
László Kiss Kollár
929fefdbae
Add --path to pip freeze to support --target installations ( #6450 )
...
* Add support for --path in pip freeze
2019-05-28 02:28:18 -07:00
Nitesh Sharma
fd692f32ba
move format control to models and write parametrized test
2018-09-02 23:08:07 +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
b13cee6388
Merge branch 'master' into refactor/pip-cli-subpackage
2018-07-30 09:52:18 +05:30
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30
Pradyun Gedam
4fc697847a
Update imports for the moved compat module
2018-07-29 18:32:20 +05:30
Pradyun Gedam
922f8d9857
Sort imports
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
4c147397ea
Merge branch 'master' into cache/ephem-wheel-cache
2018-01-24 02:15:21 +05:30
Pradyun Gedam
729990c986
Round 1 of Cleanups ( #4844 )
...
* misc: fix typo
* misc: 🎨 cleanup parenthesis
* misc: 🎨 minor simplifications
* tests: fix test_console_to_str_warning
2017-12-25 15:23:27 +05:30
Pradyun S. Gedam
ebf06ceb9d
Merge master
2017-10-04 16:58:31 +05:30
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00