Paul van der Linden
8d67101b6e
path exists action
2011-10-04 16:10:46 +02:00
Paul van der Linden
ac94f606c0
fix no-input
2011-10-04 16:08:35 +02:00
Hugo Lopes Tavares
0ece434f81
Changed magic status code numbers to named ones
2011-08-02 14:03:35 -04:00
Hugo Lopes Tavares
9575e62b93
Moved SUCCESS and ERROR to basecommand.py, and added a FIXME, explaining why there is a integer check for status (return from self.run)
2011-08-02 13:54:18 -04:00
Hugo Lopes Tavares
8e8ef0e34a
Changed SearchCommand.run to return SUCCESS or NO_MATCHES_FOUND (0 and 23) for found packages, and not found packages. Changed BaseCommand to check if run
returned int, and if so, it is the exit status code [dummy change, just to no break everything right now; the other commands should be changed too!]. Removed SearchCommandError because it was not used
2011-08-02 13:16:18 -04:00
Alex Morega
a58839e194
"search" command reports error via exception
2011-07-20 22:14:56 +03:00
Carl Meyer
7327177dbb
Removed some unused imports.
2011-05-18 10:27:15 -05:00
Carl Meyer
87dd1579a2
Removed broken and no-longer-useful -E and PIP_RESPECT_VIRTUALENV options.
2011-05-18 10:27:14 -05: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
Paul Nasrat
bb1d9fe772
Handle KeyboardInterrupt in basecommand
...
Manually tested:
python pip/runner.py install --no-install django
Downloading/unpacking django
Downloading Django-1.3.tar.gz (6.5Mb): 2.6Mb downloaded
Operation cancelled by user
Storing complete log in /Users/pnasrat/.pip/pip.log
2011-04-17 02:26:00 +08:00
Vinay Sajip
680b5dfda0
Port to Python3
2011-03-15 15:49:48 -04:00
Hugo Lopes Tavares
dc765845c0
removed unused imports and unused vars
2011-02-12 00:47:31 -02:00
Jannis Leidel
4d33521822
Added option to disable prompting for input. Also added ability to interactively ask for username and/or password in case a request requires authentication.
2010-08-31 13:08:57 +02:00
Jannis Leidel
ee2949a97c
Added an URL opening helper that handles proxies and basic auth.
2010-08-30 23:53:33 +02:00
Jannis Leidel
e91f167dfd
Moved pkgutil to its own file to keep the backwardcompat module a little cleaner.
2010-07-26 19:31:49 +02:00
Jannis Leidel
94dfe26d36
Fixed using pkgutil for Python 2.4 by adding pkgutil itself to the backwardcompat module.
2010-07-26 18:53:59 +02:00
Jannis Leidel
0cb87df5cd
Made version control and commands loading use pkgutil.
2010-07-26 04:54:16 +02:00
Hugo Lopes Tavares
ab3ea6ec51
removed unused vars and imports
2010-06-03 21:58:16 -03:00
Hugo Lopes Tavares
d06c98dc6f
merged changes related to PEP 8 from hltbra's fork
2010-06-02 23:25:26 -03:00
Carl Meyer
147bc21b8d
remove redundant logfile directory creation
2010-05-25 17:40:55 -04:00
Dave Abrahams
0702303788
Make sure logfile directory exists before writing a log there
2010-04-26 03:53:17 -04:00
Alexandre Conrad
1397f923a5
Resolve dirname given a log filename like 'foo.log'. Fixes #90 .
2010-04-19 11:28:33 +02:00
Alexandre Conrad
cc3dfad6ce
handle missing VCS with an error message rather than traceback, fixes #50
2010-04-15 16:14:31 +02:00
Alexandre Conrad
7b3ea5a9f9
create log file's base directory if it doesn't exist
2010-04-09 18:12:44 +02:00
Jannis Leidel
b74665237c
Overwrite the local log file in ~/.pip/pip.log instead of appending to prevent huge log files. For a verbose log file use the --log option explicitely (which will be appended to).
2010-03-11 00:41:42 +01:00
Jannis Leidel
20c45c1d71
Be a little quieter when using an already activated virtualenv to be able to have clean freeze entries.
2010-03-11 00:17:50 +01:00
Jannis Leidel
5925f8ee52
Expand ~ in the logfile path.
2010-03-10 23:41:41 +01:00
Carl Meyer
96bb90d434
move logging setup earlier in main() to avoid raw prints; fixes #75
2010-03-09 16:31:03 -05:00
Carl Meyer
efa48ecb32
avoid raw ImportError on nonexistent command
2009-12-04 13:43:46 -05:00
Ian Bicking
84dbd5e139
fix imports; extend command set a bit
2009-11-20 12:19:47 -06:00
Ian Bicking
47d9c03c06
Extracted the Command class (and helpers); fix -E now that pip is a package; extracted some virtualenv stuff; extracted exceptions; tweak tests
2009-11-20 02:47:28 -06:00