12-13-2017, 10:56 PM
If you looks at site.py, as their extension indicate the ".pth" files include modules to be added to the python path.
In the open-source word, obscured code has something to hide, and so is suspect.
Btw, looking at the code, it seems that at least the Windows version relies on file extensions to determine what can be run, and for Python this is defined by the file "lib/gimp/2.0/interpreters/pygimp.interp", that only mentions the ".py" extension. So your compiled Python will only run on altered installs, and if the file can only contain one extension using "pyc" will preclude the use of "py".
In the open-source word, obscured code has something to hide, and so is suspect.
Btw, looking at the code, it seems that at least the Windows version relies on file extensions to determine what can be run, and for Python this is defined by the file "lib/gimp/2.0/interpreters/pygimp.interp", that only mentions the ".py" extension. So your compiled Python will only run on altered installs, and if the file can only contain one extension using "pyc" will preclude the use of "py".