007-distutils-do-not-adjust-path.patch 387 B

12345678910
  1. --- a/Lib/distutils/command/build_scripts.py
  2. +++ b/Lib/distutils/command/build_scripts.py
  3. @@ -89,6 +89,7 @@ class build_scripts (Command):
  4. adjust = 1
  5. post_interp = match.group(1) or ''
  6. + adjust = 0
  7. if adjust:
  8. log.info("copying and adjusting %s -> %s", script,
  9. self.build_dir)