From: Andy T. <an...@cr...> - 2001-09-10 12:03:33
|
Andy Todd wrote: > 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've updated the setup.py to keep the sample applications with the framework code rather than in their own seperate directory. I've also been playing around with binary distributions, and have managed to create a self extracting .exe for windows. Unfortunately this only contains the top level of files, so if anyone would like to point out how I get the whole directory structure included I'd appreciate it. I've updated the files in http://pythoncard.sourceforge.net/dist and would appreciate as much testing and feedback as possible. Thanks in advance, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |