Browse Source
Unset executable bit & remove !#shebang
Unset executable bit from all python sources upon installation, and
remove shebang from all python modules w/o `if __name__ == '__main__'`.
There are corresponding wrappers provided in the $(PREFIX)/bin/ for each
python script (not ui_*.py), so there should be no need to call these
source files directly as commands. Even those python sources which do
not have a script in $(PREFIX)/bin/ -- they are just being imported into
other modules, and their `__name__ == '__main__'` exists simply for
debugging purposes.
Also, restricting to only single valid entry point adheres to
The Zen of Python
=================
There should be one-- and preferably only one --obvious way to do it.
Fixes #240
pull/306/head