mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/pkg-python.mk: add hatch setup type
As we have many python packages using the hatch(hatchling) build system we should add a setup type for it so that we don't have to manually specify the host-python-hatchling dependency. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
7e739d49b2
commit
1459c0a6f0
@@ -417,6 +417,8 @@ class BuildrootPackage():
|
||||
self.build_backend = build_backend
|
||||
if build_backend == 'flit_core.buildapi':
|
||||
self.setup_metadata['method'] = 'flit'
|
||||
elif build_backend == 'hatchling.build':
|
||||
self.setup_metadata['method'] = 'hatch'
|
||||
elif build_backend == 'setuptools.build_meta':
|
||||
self.setup_metadata['method'] = 'setuptools'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user