-
Hello. I would like to kindly ask You how to create a namespace/package. I have tried different combinations:
But it doesn't create valid namespace. I expect to have similar structure: project/
pyproject.toml
src
namespace
some-package
__init__.py
After from namespace import some-package |
Beta Was this translation helpful? Give feedback.
Answered by
ofek
Apr 8, 2023
Replies: 1 comment 5 replies
-
There is no option to generate a namespace package, but after you manually create the directory structure you would ship it with this option https://hatch.pypa.io/latest/config/build/#packages |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
Solvero
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no option to generate a namespace package, but after you manually create the directory structure you would ship it with this option https://hatch.pypa.io/latest/config/build/#packages