osupython / pip2

Experimental port of pip from distutils to distutils2.
http://pip2.readthedocs.org/
MIT License
18 stars 11 forks source link

Install local packages #48

Closed rlbaker closed 12 years ago

rlbaker commented 12 years ago

pip2.commands.install.install() will now detect if a package is a local archive or directory and attempt to install from there rather than pulling from Pypi (or other index).

It does this by checking the passed in package name exists on the filesystem (using os.path.exists) and if so, calls install_local_project rather than install.

Test case tests to make sure that the appropriate function (install or install_local_project) is called.