I have pip
installed on Windows (bundled with ActivePython
), Debian 7 (installed via sudo apt-get install python-pip
) and OSX 10.8 (installed via easy_install pip
).
I want to download mercurial
package without installing it (just a .tar.gaz
archive) so i issued following documented command:
pip install --download=. mercurial
On Windows it works, but no file appears in current directory. On Debian and OSX it fails like this:
Downloading/unpacking mercurial
Running setup.py egg_info for package mercurial
...
lots of text, complains about no headers to compile
What i'm doing wrong? I was sure that pip
is not supposed to actually run something with --download
command, but it seems that on both Debian and OSX it is trying to install package after downloading :(.