This utility scans all Python files in the current directory (recursively),
collects top-level imports, and generates a requirements.txt containing only
the external packages actually used (with or without versions).
Dependencies in python sucks. While this script can be very helpful, it
cannot guarantee a perfect requirements.txt file. Always review the output
and test your project after generating or updating the requirements.