PEP 366 – Main module explicit relative imports
This PEP proposes a backwards compatible mechanism that permits the use of explicit relative imports from executable modules within packages.
By adding a new module level attribute, this PEP allows relative imports to work automatically if the module is executed using the -m switch.