edaa-org / pyEDAA.IPXACT

An IP-XACT DOM for IEEE 1685-2014 in Python.
https://edaa-org.github.io/pyEDAA.IPXACT
Other
17 stars 11 forks source link

PyPI package installation is missing files #17

Open xeroks opened 2 years ago

xeroks commented 2 years ago

Thanks for creating the PyPI packages. When attempting to use the IPXACT package there are some missing schema files. I see that in Git it's included as a submodule so it should work if I clone the repo. For my purpose I need to use the PyPI package to make reuse/setup simpler for other users.

File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyEDAA/IPXACT/Catalog.py", line 147, in FromFile raise PyIpxactException(f"Couldn't open '{schemaPath}'.") from ex pyEDAA.IPXACT.PyIpxactException: Couldn't open '../lib/schema/ieee-1685-2014/index.xsd'.

Paebbels commented 2 years ago

Oh, you're right, we didn't add the schema files as data files to the package.

Hmmm this requires a change to pyTooling first, as it's providing some helper functions for setuptools. Here data files are not yet an optional parameter :(.