Select your language

Now, you have spent weeks or more to develop your script and you want to share it with others to show off. But wait. All your friends report issues running your script due to missing dependencies. Since it is almost impossible to keep track of all the dependencies you installed over time can you use a simple solution: Pipreqs.

Use Pipreqs

First use pip to install popreqs 

pip install pipreqs

It is easily run via the terminal

pipreqs "path to folder with my script"

The result is a little text file contained in the folder of your script. My example used sdl2, matplotlib and kivy.

Source

pipreqs on Github