nmk_python.backends.uv_build_backend

Uv build backend module.

Classes

UvBuildBackend

Uv build backend implementation

Module Contents

class nmk_python.backends.uv_build_backend.UvBuildBackend(model: nmk.model.model.NmkModel)

Bases: nmk_python.backends.build_backend.PythonBuildBackend

Uv build backend implementation

Parameters:

model – NmkModel instance

install_editable()

Install current project as editable package

install_wheel(wheel_path: pathlib.Path)

Install current project built wheel

build_wheel(build_dir: pathlib.Path, built_wheel_name: str, wheel_version: str) pathlib.Path

Build current project wheel

Parameters:
  • build_dir – temporary build folder

  • built_wheel_name – name of the built wheel file

Returns:

path to built wheel

uninstall_wheels(wheel_names: list[str])

Uninstall specified wheels

Parameters:

wheel_names – names of the wheels to uninstall