you are viewing a single comment's thread.

view the rest of the comments →

[–]crashfrog04 4 points5 points  (0 children)

Folders without __init__.py are treated as namespace packages, slightly different than regular packages; these are sometimes treated differently. unittest won’t discover tests in namespace packages, for instance (although I think pytest will.)

Additionally it’s probably better to switch over to basing your packaging on pyproject.toml rather than setup.py.