Change the way the install path for python file is determined.