Open DominiquePaul opened 1 year ago
I have the same issue with bitcoinlib
.
I think quite a few new packages are not identified properly, as it's been a long time since we updated the list.
Back when I first wrote it I parsed all the packages from PyPi repository to match the imports with the packages. I think a fresh parsing is needed, I'll take a look at it once I have some free time.
I always thought pipreqs works the other way around: Compare the list of used packages against the list of base packages? Would that not be easier to maintain? Each day there are new packages on PyPI...
I have an import that looks like this:
from google.cloud import storage
the installation command with pip is:
pip install google-cloud-storage
But the requirement
google-cloud-stoage==2.7.0
is not added to requirements.txtI love pipreqs, but I'm not sure how to deal with this as everytime I add it manually and want to regenerate the file the dependency is lost..
Is there a way to either:
Thanks!