How can I have a cookieplone project without the python package?

What can I do if I want a cookieplone-based project but no python-package with it in src/mypackage because it only uses a couple of packages that already exist as repositories. The reason I still want it as cookieplone-based it is all the other nice things that cookieplone gives me (linting/frontend/image-building/).

In one project I emptied the main package so it only has a __init.py__, that works but just feels wrong.

Also: A lot of older projects used to have multiple python-packages (remember optilux.policy and optilux.theme?) - is there a way to have more than one package in a project without handling them like other external addons?

In both cases you are driving where there isn’t a paved road and should go slow and expect a few bumps.

I don’t think there’s any requirement that a Python project defined in pyproject.toml has code of its own. You can probably just remove the package, and remove the configuration in pyproject.toml for building it with hatch.

uv has support for workspaces that install multiple Python packages from a monorepo (Using workspaces | uv) but I haven’t tried them myself.