nmk_python.backends.build_backend
Python build backend definition module
Classes
Python build backend interface |
Module Contents
- class nmk_python.backends.build_backend.PythonBuildBackend(model: nmk.model.model.NmkModel)
Bases:
abc.ABCPython build backend interface
- Parameters:
model – NmkModel instance
- abstractmethod install_editable()
Install current project as editable package
- abstractmethod install_wheel(wheel_path: pathlib.Path)
Install current project built wheel
- abstractmethod 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
- abstractmethod uninstall_wheel(wheel_name: str)
Uninstall specified wheel
- Parameters:
wheel_name – name of the wheel to uninstall