Ronald Oussoren added the comment:
A disadvantage of requiring "from . import ..." to import modules next to the
script is that this requires a different mechanism before and after
installation of a script.
That is, before installation the additional modules are next to the script
("from . import helper" and after installation the additional modules are in
site-packages while the script itself is in the bin directory ("import helper").
----------
nosy: +ronaldoussoren
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29929>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com