[Distutils] Are there command line options for wininst builds?
cbass233 at yahoo.com
Thu Jan 22 16:00:30 EST 2004
Thomas thanks for your quick responses. Your emails are doubling up for some reason.
I looked at the source. It looks like it might be reasonable to change things around a bit.
What I don't see is instructions on how to turn the EXE that MSVC builds into the binary 'text'
that disutils uses to build the installation program. Is this documented somewhere?
--- Thomas Heller <theller at python.net> wrote:
> Chuck Bass <cbass233 at yahoo.com> writes:
> > I've looked at the wininst code and they do some tricky stuff with
> > appending some binary to build an exe file on the fly. Is the source
> > available that made that binary. If it is available I'd be willing to
> > take a look at making it accept some command line parameters.
> The source is in python CVS:
> But be warned, it's not an example how to separate view and model ;-(.
> It might be *much* easier to come up with a bdist_wininst_2 command or
> so, which uses Python's zipfile module and maybe a py2exe built exefile,
> and silently installs the stuff just where Python is installed.
> The zipfile module wasn't standard when the source code was written, so
> the C code had to handle unpacking of the zip archive.
> Gee, this may even be a project idea if I wouldn't have other things to do.
> Distutils-SIG maillist - Distutils-SIG at python.org
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
More information about the Distutils-SIG