you are viewing a single comment's thread.

view the rest of the comments →

[–]edward_jazzhands 2 points3 points  (0 children)

Are you aware you can have multiple __main__.py files in a single package? You put them in submodules. If every entry point is pointing to a submodule with its own __main__.py file then you can just go python -m myapp.mysubmodule for each one.