Managing Dependencies Efficiently
A time saving alternative I came across after doing the latter was to use virtualenv to create a local isolated python environment.
Make sure you use -not-site-packages so virtualenv doesn’t symlink to your system packages when you install a new package in the future. Now when you run pip freeze again you’ll get all local dependencies in the requirements.txt
Managing Dependencies Efficiently A time saving alternative I came across after doing the latter was to use virtualenv to create a local isolated python environment.
Make sure you use -not-site-packages so virtualenv doesn’t symlink to your system packages when you install a new package in the future. Now when you run pip freeze again you’ll get all local dependencies in the requirements.txt
virtualenv —no-site-packages myflaskapp
https://medium.com/@pbojinov/elastic-beanstalk-and-flask-c51e10de7fe0