[Distutils] Odd thought
Paul F. Dubois
paul@pfdubois.com
Fri Feb 23 10:04:00 2001
Aha. If a setup.py started with this:
import sys
if len(sys.argv) == 1:
sys.argv.append('install')
it would work to double-click it. No window needed. (:->
This is no more offensive than my ipy idea. For those who don't like this,
it could print a prompt "Install? (y/n): ", read the answer, etc.
That said, if distutils' setup command contained this code...
-----Original Message-----
From: guido@cj20424-a.reston1.va.home.com
[mailto:guido@cj20424-a.reston1.va.home.com]On Behalf Of Guido van
Rossum
Sent: Friday, February 23, 2001 6:00 AM
To: Thomas Heller
Cc: Rene Liebscher; Jack Jansen; Paul F. Dubois;
distutils-sig@python.org; David Ascher
Subject: Re: [Distutils] Odd thought
> The problem I see is that there is no way to create a dialog-box
> on windows without either requiring win32all to be installed,
> or to use a custom python interpreter 'py_dialog.exe' which
> would then display a dialog box (and maybe also display the
> output of the script)
You could at least *try* to import Tkinter and see if it exists.
--Guido van Rossum (home page: http://www.python.org/~guido/)