From 0a7534e057b408a9e6275658dff883efee3e06a2 Mon Sep 17 00:00:00 2001 From: Reinout van Rees Date: Tue, 25 Jul 2023 14:17:44 +0200 Subject: [PATCH 1/2] Documenting hook_package_dir, fixes #370 --- doc/source/entrypoints.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/source/entrypoints.rst b/doc/source/entrypoints.rst index 5593cde2..740e5b71 100644 --- a/doc/source/entrypoints.rst +++ b/doc/source/entrypoints.rst @@ -114,6 +114,9 @@ Notes: * The order in which entry-point defined via installed packages are processed is undefined. +* *If* you use an entry point defined in the package you're releasing *and* + your package has the code inside a ``src/`` dir, you might have to add + ``hook_package_dir = src`` to the ``[tool.zest-releaser]`` section. Comments about data dict items From 6d1b178237671e9ad6337bb739772af2174222be Mon Sep 17 00:00:00 2001 From: Reinout van Rees Date: Tue, 25 Jul 2023 14:19:19 +0200 Subject: [PATCH 2/2] updated changelog --- CHANGES.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 09f6428e..ec58069c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,10 @@ Changelog for zest.releaser - Updated contributors list. +- Documenting ``hook_package_dir`` setting for entry points (which isn't + needed for most entry points, btw). + Fixes `issue 370 `_. + 9.0.0a2 (2023-07-19) --------------------