[Python-Dev] Distutils2 scripts (original) (raw)
Eric Smith eric at trueblade.com
Fri Oct 8 20:51:01 CEST 2010
- Previous message: [Python-Dev] Distutils2 scripts
- Next message: [Python-Dev] Distutils2 scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/8/10 2:41 PM, Tarek Ziadé wrote:
On Fri, Oct 8, 2010 at 4:49 PM, Eric Smith<eric at trueblade.com> wrote: ...
On Windows it can't be a shell script or batch file, but needs to be an executable. setuptools already deals with this. Why ? The script-wrapping feature Setuptools has is on my radar for d2, but I am not sure why it's an advantage in that case.
It can't be a batch file because then it can't be called from other batch files (without using the "call" syntax). I guess there are other options like using WSH (or newer technology), but then you have to pick your target OS carefully.
I think the setuptools approach is the preferred solution, although of course it's a hassle.
-- Eric.
- Previous message: [Python-Dev] Distutils2 scripts
- Next message: [Python-Dev] Distutils2 scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]