tags:

views:

85

answers:

1

Simple Question ;)

Is there a way to simply install the package using pip once you build it. Using easy_install I would simply build my package it (python setup.py build), then if I was happy do a easy_install . and this would dump the resulting egg into the right place. How do I do this using pip?

+2  A: 

pip install -e . will install from a local source like easy_install . would.

Most of pip's commands and functionality are designed around installing from source repositories or PyPI package listings, or maintaining consistently versioned dependencies though.

If you are going through the steps of building the package yourself, are you sure you don't want to python setup.py install manually after you are satisfied with the build?

Michael Greene
Good point - I guess the reason would be to utilize the freeze functionality. I'm just getting started with pip.
rh0dium
Actually this doesn't work the way I was thinking... Bummer. But then again neither did pip. So the right answer is simple python setup.py install.. Duh
rh0dium