I follow the Flask tutorial in which I use virtualenv, and with it I created an application directory tree that looks like this:
app/
|__app/
|__app.egg-inf/
|__setup.py
|__venv/
Inside my venvtutorial will tell me to run pip install -e ., which seems to be using mine setup.pyto install dependencies and my application.
Why does the textbook have me working pip install -e .? Why not python setup.py install? What are the differences?
(FWIW, export FLASK_APP=app; flask runworks fine after pip install -e ., but doesn't work after python setup.py install)
Juicy source
share