Carl Meyer
d793133780
support Debian/Ubuntu "dist-packages" in zip command. Thanks duckx. Fixes #80
2010-04-13 16:08:54 -04:00
Alexandre Conrad
9b761cb418
better directory detection and rename 'filename' functions to 'path' functions
2010-04-13 18:12:50 +02:00
Alexandre Conrad
c8b6fa50fb
make pip work when current or parent dir is given: 'pip install .' and 'pip install ..'
2010-04-10 11:57:49 +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
5cbccd818a
Expand the download cache dir path.
2010-03-11 03:24:53 +01:00
Jannis Leidel
e8b57e2e45
Fixed small regression introduced in 3a470ce67a51.
2010-03-11 03:16:12 +01:00
Jannis Leidel
e9d400fc87
Fixed #41 - Handle ssh+svn URLs of editables correctly.
2010-03-11 02:41:08 +01:00
Jannis Leidel
24a1f48276
Fixed #32 - Don't force a checkout after cloning a Git repository if the detected "revision" is the default.
2010-03-11 02:35:25 +01:00
Jannis Leidel
57bd8163e4
Fixed #43 - Make sure we can install from directories directly (e.g. pip install path/to/dir/with/package).
2010-03-11 01:16:18 +01: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
0bf943e4f4
Fixed #47 - Use ~/.pip/pip.log as the default location of log files.
2010-03-11 00:20:33 +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
Jannis Leidel
910210535d
Fixed #66 - Don't create a working copy after cloning a Mercurial repo because there an explicit update happens after that anyway. Thanks for the tip, Dirkjan Ochtman.
2010-03-10 23:23:29 +01:00
Jannis Leidel
459f31bfd7
Automated merge with http://bitbucket.org/dholth/pip/
2010-03-10 21:57:38 +01:00
Daniel Holth
d2fe28670a
Don't raise_on_returncode for git tag -l. Improved compatibiliy with older version of git.
2010-03-10 14:09:49 -05:00
Carl Meyer
c74064b26d
install headers in saner locations (still not sure what to do in virtualenv); fixes #73
2010-03-09 17:00:09 -05: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
ca9acb2626
make completion allow global options before subcommand
2010-03-09 16:30:04 -05:00
Carl Meyer
107835ec99
factor out get_installed_distributions utility function and add pip uninstall autocomplete; fixes #76
2010-03-09 14:39:48 -05:00
Carl Meyer
f09cef1071
another sorted cmp->key
2010-03-04 11:38:53 -05:00
Daniel Holth
6b37da6610
use 'git tag -l' instead of 'git tag' to work with older versions of git.
2010-03-01 14:48:16 -05:00
Cody Soyland
64360ffe9b
Change function name "translate_hits" to "transform_hits" for clarity.
2010-02-23 15:01:43 -06:00
Cody Soyland
7f709ba830
Do not print separate line for latest version if it is installed.
2010-02-22 18:20:19 -05:00
Cody Soyland
02085e8858
Use logger.indent instead of printing spaces.
2010-02-22 18:10:56 -05:00
Cody Soyland
d29756822a
Join query args with space instead of choosing first word.
2010-02-22 17:45:53 -05:00
Cody Soyland
7768c7865f
Replace print statements with logging.
2010-02-22 17:43:49 -05:00
Cody Soyland
9415e28449
Fix for cases in which terminal size cannot be determined.
2010-02-22 17:37:19 -05:00
Cody Soyland
e238291990
Added pip search command with basic documentation and tests.
2010-02-22 17:03:05 -05:00
Carl Meyer
9a465eeb10
add --local option to freeze; fixes #9
2010-02-22 00:37:28 -05:00
Carl Meyer
0fa4cb4f79
allow global pip to uninstall from anywhere; fixes #44
2010-02-20 12:13:21 -05:00
Carl Meyer
4b7b0b2c90
correct ordering of versions from last commit
2010-02-12 16:51:01 -05:00
Carl Meyer
ea9a0c1ec2
avoid sorted(cmp=...) for Python 3; thanks gdamjan! fixes #62
2010-02-12 12:15:47 -05:00
Alex Gr?nholm
e1af274421
Fix uninstallation on Windows ( fixes #58 )
2010-02-08 09:51:14 +02:00
Jannis Leidel
03ff9faf76
Fixed #53 - Fixed backwards compat import error on Windows
2010-01-21 13:27:02 +01:00
Ian Bicking
ce8ebe84fa
Automated merge with ssh://hg@bitbucket.org/ianb/pip
2010-01-18 14:33:25 -06:00
Ian Bicking
e84fa32453
Avoid searching tests/ for .egg-info directories (which are sometimes created to mock out packages)
2010-01-18 14:33:20 -06:00
Carl Meyer
4d8dffbdb1
preserve options from template reqs files: fixes #37
2009-12-12 17:26:28 -05:00
Carl Meyer
6a7b1a9f81
merge
2009-12-10 01:19:26 -05:00
Carl Meyer
6ec86b9ade
use canonical paths everywhere in uninstall
...
fixes failure to uninstall editables in certain edge cases with symlinks
2009-12-10 01:18:12 -05:00
Ian Bicking
13a3083066
Fix for pip bundle and local files, from whit
2009-12-08 13:25:07 -06:00
Carl Meyer
6971562546
clean up after ourselves in tmpdir
2009-12-05 00:42:12 -05:00
Carl Meyer
f0416ebddd
use shutil.move for rollback-save ( fixes #27 )
...
If TMPDIR is on a different filesystem, this has the potential to lose
file ownership info. In general that shouldn't be an issue; seems to
be the best we can do.
2009-12-05 00:23:35 -05:00
Carl Meyer
1b905e0456
refactor uninstall rollback-save to use full paths
2009-12-04 14:40:26 -05:00
Carl Meyer
efa48ecb32
avoid raw ImportError on nonexistent command
2009-12-04 13:43:46 -05:00
Carl Meyer
148ff3a8ed
fix uninstall of namespaced packages ( fixes #34 )
2009-12-04 13:18:21 -05:00
Ian Bicking
4cf472c039
Avoid confusions when there's a virtualenv environment under an editable source directory
2009-11-24 16:31:16 -06: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
b0df48ad31
Factor out the PackageIndex code; move more stuff to pip.util
2009-11-20 17:39:44 -06:00
Ian Bicking
dc6b8393eb
Extracted the vcs support into a package/modules. Moved some routines from __init__ into pip.util
2009-11-20 15:03:40 -06:00