Can't install my third party python module with pipreqs

I can’t install python-telegram-bot as a module via pipreqs because it needs to be imported as
import telegram
and there is a ghost package in PyPi named exactly like that.
I’ve made a pull request to pipreqs github repo but I’ve noticed that it’s unmaintained for a year, so there won’t be any hope this PR will be ever approved.

I ask to add an option to manually write requirements.txt or linking to pypi url as pipreqs won’t pick the right package

Hi @marocco2 , thank you for reaching out. We actually maintain our own mapping file, so I added telegram!

Let me know if that works for you.

1 Like

Thank you very much! I didn’t expect such quick response! Now it works perfectly!