Commit Graph

25 Commits

Author SHA1 Message Date
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Donald Stufft d24581fedf Merge pull request #4493 from pradyunsg/nicer-uninstall
Make uninstall less verbose
2017-05-19 07:12:15 -04:00
Pradyun S. Gedam 33b903ef4d Make uninstall less verbose 2017-05-17 23:56:40 +05:30
Pradyun S. Gedam 1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Xavier Fernandez 893f0b0029 Remove uninstall mechanism from RequirementSet 2017-04-02 15:22:48 +02:00
Robert Collins 6aec23cafe Issue #2675: Granular control over wheels/sdists
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.

This also closes #2084
2015-04-24 08:52:48 +12:00
Robert Collins ec46a3bac4 Replace wheel cache cache_dir with an object.
Wheel cache lookups become more complex when we wish to allow binary
blacklisting. Rather than passing more parameters around, replace
cache_root with wheel_cache, and create a wheel cache in all the
relevant command entry points.
2015-04-23 10:03:50 +12:00
Robert Collins 4926409340 Issue #2563: Read cached wheels from ~/.cache/pip
This won't put wheels into that directory, but will read them if they
are there. --no-cache-dir will disable reading such wheels.
2015-04-13 18:33:07 +12:00
Donald Stufft 5b817f960b --isolated should isolate from ~/.pydistutils.cfg as well 2014-12-11 11:51:06 -05:00
Donald Stufft 767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
Donald Stufft 2298e4ce53 Fix #1657 - Explicitly close the requests session 2014-07-03 12:50:59 -04: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 3b3cdda31d Pass our created session into RequirementSet 2013-09-24 23:32:03 -04:00
Donald Stufft ff2854a855 Use requests instead of urllib2 2013-09-24 23:32:03 -04:00
Jannis Leidel 7db3d03e1a Moved the command description into the command class docstring to follow Python best practices. 2013-02-16 19:00:29 +01:00
Marcus Smith ab9ea197bd improved docs and cli help 2013-01-18 13:25:15 -08:00
Georgi Valkov b26cdee1e6 move command options before general options
Add a new base parser class 'CustomOptionParser' that provides the
'insert_option_group(idx, *, **)' method for inserting an option group
at a specific position.
2012-12-12 15:06:05 +02:00
Georgi Valkov 8b1836b401 'Command Options' for the uninstall command 2012-12-10 03:30:17 +02:00
Georgi Valkov 46a21751b8 add the base_parser argument to all Command instances 2012-11-10 15:34:53 +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
Paul Nasrat 2860dc7d41 Fix whitespace, etc for pep8 compliance
Reran tests after changes on 2.4, 2.6, 3.2 all pass.

=====================================================
================== Running pep8 =====================

Searching for pep8
Reading http://pypi.python.org/simple/pep8/
Reading http://github.com/cburroughs/pep8.py/tree/master
Reading http://github.com/jcrocholl/pep8
Best match: pep8 0.6.1
Processing pep8-0.6.1-py2.6.egg
pep8 0.6.1 is already the active version in easy-install.pth
Installing pep8 script to /Users/pnasrat/Development/pip/pip_virtualenv/bin

Using /Users/pnasrat/Development/pip/pip_virtualenv/lib/python2.6/site-packages/pep8-0.6.1-py2.6.egg
Processing dependencies for pep8
Finished processing dependencies for pep8

==================== Ended pep8 =====================
=====================================================
2011-05-04 08:44:02 +01:00
Jannis Leidel d921b1dc55 Also bail in the uninstall command, if no requirement is given. 2010-08-31 14:51:15 +02:00
Hugo Lopes Tavares d06c98dc6f merged changes related to PEP 8 from hltbra's fork 2010-06-02 23:25:26 -03:00
Ian Bicking 8ed9acae60 Factor out the requirement handling into pip.req, and most of the remaining utility functions into pip.util 2009-11-20 18:26:59 -06: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