johnwmillr / LyricsGenius

Download song lyrics and metadata from Genius.com 🎶🎤
http://www.johnwmillr.com/scraping-genius-lyrics/
MIT License
892 stars 158 forks source link

Wrong file in the PyPi package #169

Closed allerter closed 3 years ago

allerter commented 3 years ago

Describe the bug Whenever I install the latest version (2.0.2) from PyPi at the package files in the site-packages, I see the following:

api
api.py
artist.py
genius.py
song.py
utils.py
__init__.py
__main__.py
__pycache__

As you can see, there is the api folder which is part of 2.0.2, but right underneath it is the api.py file which belongs to the earlier versions of the package where the api.py wasn't in the api folder. So I tried re-installing, upgrading, and removing pip's cache to no avail. But whenever I install from GitHub, the files are where they're supposed to be and all is right.

When I tried using the package, all the requests went through api/base.py which is right. But I don't know why there is a redundant api.py in the files.