Right now it is a quickfix to properly include our json schemas into python package.
It seems that at some point setuptools?
started to behave differently.
Currently we have a bit of a configuration conflict in setup.py
:
setup(
...
package_data={
"...": ["schema", "schema/*.json"],
}
...
include_package_data=True, # use MANIFEST.in
...
)
see https://setuptools.readthedocs.io/en/latest/userguide/datafiles.html
In older version of setuptools?
the files where include from package_data
attr as well as from MANIFEST.in
. Not it seems that if include_package_data=True
only MANIFEST.in
is used.
And our MANIFEST.in
was broken (didn't include all data filed). So I fixed it.