Closed eimrek closed 1 month ago
Taking inspiration from https://github.com/jupyter/nbconvert/blob/main/pyproject.toml,
i switched the project to use the hatch tooling and pyproject.toml.
The result is modern and clean, without custom scripts/calls (that didn't work with wheel-based installs before, as far as i tested).
Hatch automatically copies the templates to the correct directory by using the tool.hatch.build.targets.wheel.shared-data option.
tool.hatch.build.targets.wheel.shared-data
Taking inspiration from https://github.com/jupyter/nbconvert/blob/main/pyproject.toml,
i switched the project to use the hatch tooling and pyproject.toml.
The result is modern and clean, without custom scripts/calls (that didn't work with wheel-based installs before, as far as i tested).
Hatch automatically copies the templates to the correct directory by using the
tool.hatch.build.targets.wheel.shared-data
option.