SWIFTSIM / swiftsimio

Python library for reading SWIFT data. Uses unyt and h5py.
GNU Lesser General Public License v3.0
16 stars 13 forks source link

Fix broken distribution on pypi #162

Closed kyleaoman closed 1 year ago

kyleaoman commented 1 year ago

It turns out that all submodules need to be listed in pyproject.toml, otherwise installing from pypi results in broken imports and missing submodules. I tried to get automatic discovery working but it seems glitchy, I can't seem to avoid including tests, docs, etc. even though the setuputils docs say these should automatically be ignored. Rather than start manually ignoring things, I went with manually specifying what to include.