python pip – install from local dir

All you need to do is run and pip will search /opt/mypackage for a setup.py, build a wheel, then install it. The problem with using the -e flag for pip install as suggested in the comments and this answer is that this requires that the original source directory stay in place for as long as you want to use the module. It’s great if … Read more