Corresponding approach was revisited by instead introduce the option CTK_COMPILE_PYTHON_SCRIPT_KEEP_ONLY_PYC to support removing *.py script once the corresponding *.pyc file has been generated in the destination directory.
See https://github.com/commontk/CTK/pull/1192
@MJamal At your convenience, consider reviewing and testing the proposed changes ![]()