sample-namespace-packages icon indicating copy to clipboard operation
sample-namespace-packages copied to clipboard

native namespace package is missing an example of a single module portion

Open AndiEcker opened this issue 5 years ago • 1 comments

pep420 allows also to declare a single module namespace portion directly in/under the namespace root.

The native part of this example project is missing an example for this type of portion of a native namespace package.

I will create a pull request to add an example demonstrating the structure of that kind of module portion.

NB: Although #13 is already mentioning/recommending something similar but is also having a sub-folder for the portion package (with an init.py module). But for a single module in the namespace root there is no sub-folder needed.

AndiEcker avatar Aug 27 '20 13:08 AndiEcker

Is this somewhat related: https://stackoverflow.com/questions/67208252/how-can-i-specify-a-setup-py-and-use-find-packages-without-needing-any-init ?

gro1m avatar Apr 22 '21 08:04 gro1m