Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyc compile error
#4
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".
Reply


Messages In This Thread
pyc compile error - by look - 12-13-2017, 04:00 PM
RE: pyc compile error - by Ofnuts - 12-13-2017, 08:42 PM
RE: pyc compile error - by look - 12-13-2017, 08:50 PM
RE: pyc compile error - by Ofnuts - 12-13-2017, 10:56 PM

Forum Jump: