Packaging Python packages for pypi

I just discovered a tool called pipreqs, and it’s embarrassingly easy to use to create a requirements.txt file.

To use it, just do:

pip install pipreqs
pipreqs /path/to/project

And that’s it!

Of course, then, after uploading it to pypi, don’t forget to upload it to Anaconda Cloud as well!

Credit to this webpage.