pip equivalent to "easy_install ."
Simple Question ;)
Is there a way to simply install the package using pip o开发者_如何转开发nce 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?
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?
精彩评论