Project

General

Profile

Actions

Bug #3432

closed

python: ensure proper shabang on python scripts

Added by Fabrice Fontaine almost 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:

Description

When installing python scripts, distutils would use the python used to
run setup.py as shebang for the scripts it installs.

However, when cross-compiling, this is most often not correct.

Instead, using '/usr/bin/env python' is guaranteed to find the proper
python in the PATH, so we need to instruct setup.py to use that as the
executable.

Actions

Also available in: Atom PDF