Hya,
System Debian (amd64) buster. Both python2 and python3 are installed.
Situation I'd like to modify '
bibus' program, which is installed by debian package. This is a program written in python2. I found several lines to modify in *.py files. These files were edited by root privilege. I want to compile these modules. Running the program with user privilege did not take care of this issue.
It looks like that *pyc modules are compiled after installation by postinst script.
Code:
...
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p bibus /usr/share/bibus -V 2.5-
fi
# End automatically added section
Question Is it safe to "pycompile" as the script above, when python3 is also installed?
Closing remark I will appreciate any information. Have a happy penguin!