I want to make requirement.txt file which contains modules required to run that file only. I don't want to use : pip freeze > requirements.txt as it takes all the installed modules, even ones not required to run that file.
Asked
Active
Viewed 81 times
0
-
2Try https://pypi.org/project/pipreqs/ – Nathaniel D. Hoffman May 17 '20 at 20:52
-
Does this answer your question? [Dependencies auto discovery for Python setuptools?](https://stackoverflow.com/questions/61130177/dependencies-auto-discovery-for-python-setuptools) – sinoroc May 18 '20 at 06:24