bndr / pipreqs

pipreqs - Generate pip requirements.txt file based on imports of any project. Looking for maintainers to move this project forward.
Apache License 2.0
6.38k stars 388 forks source link

Can't tell which file pipreqs is getting its packages from #448

Open melyux opened 4 months ago

melyux commented 4 months ago

I have a large project and pipreqs seems to be generating too many packages. I want to know which Python file is resulting in which packages to be found by pipreqs. I tried doing file by file, but apparently pipreqs doesn't support a single file for input either, just entire directories.

There should be a way to see which exact Python file yielded which required packages.