Pip freeze for only project requirements
if you are using linux then do it with sed
pip freeze | sed 's/==.*$/''/' > requirements.txt
When I run pip freeze > requirements.txt it seems to include all installed packages. This appears to be the documented behavior.
I have, however, done something wrong as this now includes things like Django in projects that have no business with Django.
How do I get requirements for just this project? or in the future how do I install a package with pip to be used for this project. I think I missed something about a virtualenv.