> Looks like we need JScript (what can that do, though?) or VBScript.
Not sure whether users could accept writing JScript or VBScript for
bdist_msi, so (atleast for bdist_msi), I would like to either support
Python pre-install scripts, or not support pre-install scripts at all.
The question is wh
On Mon, 22 Mar 2010 at 21:25:55, "Martin v. L?wis" wrote:
> As this might be an interesting puzzle to solve, I'd like to pose it to
> the entire distutils-sig readership. So here is the problem again:
>
> As a batch file, my attempt at having a batch file that is also a
> Python script was to wri
> HTH,
That's really cute!
Thanks a lot,
Martin
___
Distutils-SIG maillist - Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig
On 23 March 2010 20:57, Jess Austin wrote:
> I couldn't get this to work as VBScript (that requires too many line
> continuation characters), but I think the following JScript should
> work.
You are a deeply disturbed person :-)
That's seriously neat, in a scary sort of way...
Paul.
On Tue, Mar 23, 2010 at 5:21 PM, "Martin v. Löwis" wrote:
> That's really cute!
Glad you like it! I wrote another version, this time using
WshShell.Exec() rather than WshShell.Run(). This way everything
happens in the same terminal, although from random googling it seems
that Exec() may be rath
Jess Austin wrote:
> On Mon, 22 Mar 2010 at 21:25:55, "Martin v. L?wis"
> wrote:
> > As this might be an interesting puzzle to solve, I'd like to pose it to
> > the entire distutils-sig readership. So here is the problem again:
> >
> > As a batch file, my attempt at having a batch file that is
Jess Austin wrote:
> C:\>cscript bdist.js "Python26\python.exe"
>
>
> Here's the script:
>
>
> 4 // 3; '''
> ;
> if (WScript.Arguments.Count() < 1)
> WScript.Echo("usage: " + WScript.ScriptName + " ");
> else
> WScript.CreateObject("WScript.Shell").Run(WScript.Arguments.Item(0) + " " +
>