pyt-team / TopoNetX

Computing on Topological Domains
https://pyt-team.github.io/toponetx/
MIT License
176 stars 31 forks source link

Data files not included when TopoNetX package is built #195

Closed Hellsegga closed 2 months ago

Hellsegga commented 1 year ago

If I run pip install '.[all]' i.e. not in editable mode with the -e option (or if I get TopoNetX as dependency from TopoModelX), then data files (such as bunny.obj and coauthorship.npy in https://github.com/pyt-team/TopoNetX/tree/main/toponetx/datasets) are excluded.

I believe something has to be changed in the setuptools/.toml file config for the right files to be included (https://setuptools.pypa.io/en/latest/userguide/datafiles.html).

devendragovil commented 1 year ago

After a lot of attempts, I think that the issue is with all builds. For me the -e option doesn't impact the build, datasets are included in both builds if I git clone the repo toponetx. I am attempting to solve via the draft PR #239

ffl096 commented 2 months ago

Fixed in #381.