Upgrade packaging to pyproject.toml and hatchling

A post was split to a new topic: Install module in editable mode with pyproject.toml