[prev in list] [next in list] [prev in thread] [next in thread]
List: zodb-dev
Subject: [ZODB-Dev] [ zodb-Bugs-670302 ] setup.py should mangle #! lines
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2003-01-20 16:37:24
[Download RAW message or body]
Bugs item #670302, was opened at 2003-01-18 11:09
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=670302&group_id=15628
Category: None
Group: None
> Status: Closed
> Resolution: Fixed
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Jeremy Hylton (jhylton)
Summary: setup.py should mangle #! lines
Initial Comment:
When setup.py installs scripts (like runzeo.py) it
leaves the original "#! /usr/bin/env python" line in.
It should replace those with a #! line that references
sys.executable (which may not be the default python).
----------------------------------------------------------------------
> Comment By: Guido van Rossum (gvanrossum)
Date: 2003-01-20 11:37
Message:
Logged In: YES
user_id=6380
Fixed by making all #! lines read "#!python".
----------------------------------------------------------------------
Comment By: Greg Ward (gward)
Date: 2003-01-20 11:08
Message:
Logged In: YES
user_id=14422
The distutils 'build_scripts' command is supposed to take care of mangling #! lines. \
It's a bit sensitive to the exact format of the #! line, though, and exactly how it \
works seems to change with every Python version.
I *think* the right thing to do is distribute scripts with the first line \
"#!/usr/bin/python" (or just "#!python"), and let 'build_scripts' do the munging.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=670302&group_id=15628
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic