--- eric4-4.2.0/install.py~ 2008-08-09 09:58:18.000000000 +0200 +++ eric4-4.2.0/install.py 2008-08-10 23:56:36.356392677 +0200 @@ -392,6 +392,8 @@ # install the API file for progLanguage in progLanguages: apidir = getAPIsPath(progLanguage) + if distDir: + apidir = os.path.normpath(distDir + os.sep + apidir) if not os.path.exists(apidir): os.makedirs(apidir) for apiName in glob.glob(os.path.join("eric", "APIs", progLanguage, "*.api")):