开发者

pip equivalent to "easy_install ."

开发者 https://www.devze.com 2022-12-15 14:59 出处:网络
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 w

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消