From: Andy T. <an...@cr...> - 2001-09-09 23:24:05
|
Roman Suzi wrote: > On Sun, 9 Sep 2001, Kevin Altis wrote: > > >>>- Run the standard distutils install command ("python setup.py install") >>> >>This is one of my pet peeves about distutils. The default is always >>"setup.py install" but if you only have one Python installation (on Windows >>at least) you should just be able to run "setup.py" from the Explorer >>without specifying the "install" command-line option. Perhaps we should >>provide a setup_install.bat file for Windows? Would it be okay to actually >>modify "setup.py" so that if the user didn't specify a command-line option >>it would default to "install" ? >> > > I wished Distutils to have some window popup with options for those > people who do not hesitate to run things before looking what they are. > > Just after second line of setup.py: > ----------------------------------------- > WIN_DEFAULT_COMMAND = "install" > import sys > if len(sys.argv) == 1 and sys.platform.startswith("win"): > sys.argv.append(WIN_DEFAULT_COMMAND) > ----------------------------------------- > I'll apply this patch to setup.py and test it with the next release of the prototype, thanks. > >>We'll need an installation for PyCrust as well. Patrick, is this something >>you want to tackle for the 0.6 PyCrust release? >> > > Sincerely yours, Roman Suzi > Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |