From: Roman S. <rn...@on...> - 2001-09-09 18:31:29
|
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) ----------------------------------------- >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 -- _/ Russia _/ Karelia _/ Petrozavodsk _/ rn...@on... _/ _/ Sunday, September 09, 2001 _/ Powered by Linux RedHat 6.2 _/ _/ "Another case of Cherry Coke down the programming hatch!" _/ |