Commit Graph

23 Commits

Author SHA1 Message Date
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Pradyun S. Gedam 614059007f Add a configuration command
* Major refactor of configuration to remember parsers and contexts.
* Add new methods for modifying configuration and what a parser is for.
* Add a load_only parameter to make life easier.
* Rename variable on baseparser for ensuring no collisions occur by mistake
* Add a configuration command that *mostly* does what it should

[skip ci] because it'll fail anyway. The tests need updating.
2017-05-20 12:48:59 +05:30
Pradyun S. Gedam 03aaedc3eb Use a dictionary comprehension
All supported versions of likely support this construct. Please correct me if I'm wrong though.
2017-05-13 15:56:22 +05:30
Paul Moore d7444b784a Merge pull request #3750 from msabramo/check_command_rebase_develop
Add a `pip check` command.
2016-06-25 16:54:52 +01:00
Xavier Fernandez 8447f39fe1 Stop hiding commands 2016-03-03 23:50:31 +01:00
Xavier Fernandez 4fdb52e682 Merge branch 'develop' of https://github.com/nvdv/pip into unhide_completion 2016-03-03 23:48:13 +01:00
Erik Rose 09008bf190 Add `pip hash` command. 2015-10-08 00:36:03 -04:00
Mathew Jennings 417f79d8b8 Add `pip download` command and deprecate `pip install --download`.
`pip download` has the same functionality as `pip install --download`,
and the behavior of `pip install --download` is preserved with a deprecation
warning.  `pip install --download` will be removed in pip version 10.
2015-09-13 17:41:00 -04:00
Donald Stufft b7309c6bcc Remove the items deprecated for removal in 7.0 2015-04-07 04:20:51 -04:00
Wilfred Hughes 76c356151a Add a `pip check` command.
This command ensures that all packages installed have all the
requirements they need, and that requirements have compatible
versions. This is useful because pip can install incompatible
dependencies[1], or a user may have manually (un)installed a
package.

[1] https://github.com/pypa/pip/issues/775
2015-03-07 22:02:47 -08:00
Bussonnier Matthias 0582a91e62 Do not shadow submodules
using object that have the same name as submodules as the weird effect
of makeing `import pip.commands.<something> as <anothername>` fail with
a key error. This fixes it by renamin commands as command_dict and fixin
a few imports to accomodate.

Related to #2149
2014-12-12 16:06:04 +01:00
Donald Stufft 767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
nvdv 87b18f5d07 Display help for completion command. 2014-05-10 12:10:28 -07:00
Donald Stufft f79ca70c66 Remove the bundle functionality from pip 2014-05-08 16:09:23 -04:00
Matthew Iversen 000a59d8ee Stop trying to lowercase commands, it wasn't working anyway 2014-04-18 20:51:19 +10:00
Marcus Smith 07c48ea657 set the help order of 'wheel' 2013-03-15 23:58:27 -07:00
Marcus Smith 00fa9bea96 merge with develop 2013-03-15 23:46:46 -07:00
Georgi Valkov 42919f9913 manual sorting of commands and summaries
commands.get_summaries() will now yield instead of returning a list.
2013-02-12 23:23:40 +02:00
Marcus Smith cabd1d5f80 merge with pypa/pip/develop 2013-02-02 22:40:30 -08:00
Marcus Smith 49bc592bf2 add list command to registry 2012-12-15 20:23:55 -08:00
Georgi Valkov 7f4503b9e2 pep8 fixes 2012-12-06 17:25:19 +02:00
Georgi Valkov 7427eca00b remove global command instances
Rework the way commands are defined, loaded and ran in pip:

 - Commands are instantiated on demand in pip.main().

 - A command 'registry' - mapping of command names to command classes in
   pip.commands.__init__.

 - Remove deferred command module loading.
2012-11-10 15:30:16 +02:00
Ian Bicking 3d32c196b5 Extract commands into their own modules; fix a few imports and dead functions that pyflakes found 2009-11-20 12:20:52 -06:00