diff -r 948994b4f045 -r 1d6f6aa6b18f scripts/install.py --- a/scripts/install.py Thu Aug 01 19:02:54 2019 +0200 +++ b/scripts/install.py Sat Aug 03 14:42:15 2019 +0200 @@ -828,7 +828,8 @@ # set install prefix, if not None if distDir: for key in list(cfg.keys()): - cfg[key] = os.path.normpath(os.path.join(distDir, cfg[key])) + cfg[key] = os.path.normpath( + os.path.join(distDir, cfg[key].lstrip(os.sep))) try: # Install the files