2

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?

1 Answer 1

2

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?

Sign up to request clarification or add additional context in comments.

4 Comments

Good point - I guess the reason would be to utilize the freeze functionality. I'm just getting started with pip.
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 What were you expecting?
Back then (09') pip didn't behave this way!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.