2
1

0001-set-correct-python-executable-path.patch 644 B

123456789101112131415
  1. Set correct Python executable path
  2. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
  3. --- python-ipython-2.1.0/setupbase.py 2014-05-21 15:19:12.000000000 -0400
  4. +++ python-ipython-2.1.0-new/setupbase.py 2014-07-23 23:34:32.892030423 -0400
  5. @@ -394,7 +394,7 @@ class build_scripts_entrypt(build_script
  6. mod, func = entrypt.split(':')
  7. with open(outfile, 'w') as f:
  8. - f.write(script_src.format(executable=sys.executable,
  9. + f.write(script_src.format(executable='/usr/bin/env python',
  10. mod=mod, func=func))
  11. return outfiles, outfiles