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 bug for mysql-python-connector #319

Open tulbureandreit opened 2 years ago

tulbureandreit commented 2 years ago

Hi,

I found a bug that I want to report.

I am using the mysql-connector-python connector to connect to a database.

When I run pipreqs in the terminal ---- ----- > in the requirements.txt file I get the mysql-connector-repackaged package instead of the mysql-connector-python one.

And it is consistent across all my windows machines where I have tried generating this.

I think it has something to do with updating :-?? because the repackaged version is an older one.

Thanks a lot!