You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current eyeD3 package installs a lot of (useless) files outside the module directory.
How to reproduce (1)
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install requests..."requests" is just a random example module I wanted to install....
$ ls .venv/lib/python3.11/site-packages/A bunch of directories, basically two directories per module, and not much else.It looks quite clean.
$ pip install eyed3...
$ ls .venv/lib/python3.11/site-packages/OMG! What happened‽ These files showed up:AUTHORS.rstCONTRIBUTING.rstHISTORY.rstLICENSEMANIFEST.inMakefileREADME.rstpoetry.locktox.iniAnd these directories:examples/requirements/tests/
$ pip uninstall eyed3It lists all the files that are going to be removed.
Those are very clean, no extraneous files being installed out-of-place.
Solution
You have to fix pyproject.toml.
You can also reorganize the project, moving all the source files under src/. That's a convention followed by setuptools, and I'm not sure about poetry.
The text was updated successfully, but these errors were encountered:
The current
eyeD3
package installs a lot of (useless) files outside the module directory.How to reproduce (1)
How to reproduce (2)
eyed3-0.9.7-py3-none-any.whl
wheel file.Problem: there are many files outside the module directory.
Comparison
Take a look at the included files from the debian packages:
Those are very clean, no extraneous files being installed out-of-place.
Solution
You have to fix
pyproject.toml
.You can also reorganize the project, moving all the source files under
src/
. That's a convention followed by setuptools, and I'm not sure about poetry.The text was updated successfully, but these errors were encountered: