Cherry-pick "Merge branch 'PythonInstallFix-1.0-20180420' into '1.0'" into master
Python Installation Fix, 1.0 branch (2018.04.20.)
See merge request !298 (merged)
(cherry picked from commit d8cf3c54)
- 26091034 Made the pyc compilation code more explicit/exact.