mir-dataset-loaders / mirdata

Python library for working with Music Information Retrieval datasets
https://mirdata.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
363 stars 58 forks source link

Pyproject.toml missing package-data, index files not installed #637

Closed dsuedholt closed 3 weeks ago

dsuedholt commented 3 weeks ago

If you pull the repo from the master branch at the latest commit (cb25046), local setup with pip install . won't copy over the index files. This can be tricky to reproduce / check, because the indexes folder might still be cached in build folder from previous builds. This causes pip install . to copy the folder over, even though it's not included in pyproject.toml.

To reproduce:

Adding a package-data subtable into pyproject.toml fixes this.