Python install

Changed the way Python files are compiled and installed. Ensure that py_compile() is applied after the install.