[Python-Dev] Distutils2 scripts
Eric Smith
eric at trueblade.com
Fri Oct 8 20:51:01 CEST 2010
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.
More information about the Python-Dev
mailing list