New submission from igo95862 firstname.lastname@example.org:
This is package documentation: https://docs.python.org/3/tutorial/modules.html#packages
To make package executable (python -m package) you need to create a file __main__.py in the package directory.
This is pretty much not documented anyone aside of trying to run a package missing __main__.py
This page already contains information on how to make module executable. (https://docs.python.org/3/tutorial/modules.html#executing-modules-as-scripts)
---------- assignee: docs@python components: Documentation messages: 362790 nosy: docs@python, igo95862 priority: normal severity: normal status: open title: Missing documentation on how to make package executable as script type: enhancement versions: Python 3.8