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

pipreqs does not add github3.py to the requirements file #226

Closed ryan-rozario closed 3 years ago

ryan-rozario commented 3 years ago

When pipreqs encounters import github3 it does not know which package we plan to import.

After installing pip install github3.pyto get github3 in the environment, then pipreqs gives both packages.

https://pypi.org/project/github3.py/

ryan-rozario/pipreqs-action#6

alan-barzilay commented 3 years ago

Hi! I believe there is a mapping missing from github3 to github3.py If you make a pr adding the following line to the mapping file I will merge it: github3:github3.py

alan-barzilay commented 3 years ago

Thank you for the PR! Now that it is merged this should be fixed in the next release, which I hope to release soon