Install *.yaml files from meta-schemas and schemas#182
Install *.yaml files from meta-schemas and schemas#182robherring merged 1 commit intodevicetree-org:mainfrom
Conversation
3379010 to
17fc337
Compare
17fc337 to
f6082ec
Compare
The Arch Linux package uses the following commands to build and install the project: $ python -m build --wheel --no-isolation $ python -m installer --destdir="$pkgdir" dist/*.whl The installed output in $pkgdir however does not contain the *.yaml schemas from dtschema/meta-schemas and dtschema/schemas. Add setuptools configuration so the *.yaml files are installed. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
f6082ec to
7d1ea01
Compare
|
This updated version now includes the schemas from sub-directories as well |
|
Isn't directly depending on setuptools fragile in general? Some projects use a different backend now I think. |
|
|
Right, I'm just a little bit concerned about adding more.
I'm not either, but AIUI the motivation for pyproject.toml is to allow different backends. I have no reason at the moment to care about anything other than setuptools, but who knows how python will evolve. I was a bit curious why this worked already with pip and not for you. It seems setuptools_scm will include all tracked files automatically. |
Ah, I didn't realize this - thanks for investigating and sharing! |
The Arch Linux package uses the following commands to build and install the project:
The installed output in
$pkgdirhowever does not contain the *.yaml schemas from dtschema/meta-schemas and dtschema/schemas. Add setuptools configuration so the *.yaml files are installed.