Project

General

Profile

Actions

Bug #3432

open

python: ensure proper shabang on python scripts

Added by Fabrice Fontaine over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
low
Difficulty:
low
Label:
Needs backport

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.

No data to display

Actions

Also available in: Atom PDF