[Distutils] bdist_nsis, bdist_deb, bdist_msi, bdist_inno, bdist_pkgtool, bdist_sdux, etc.

M.-A. Lemburg mal at egenix.com
Thu Dec 22 11:57:47 CET 2005


Thomas Heller wrote:
> Bernhard Herzog <bh at intevation.de> writes:
> 
>> "M.-A. Lemburg" <mal at egenix.com> writes:
>>
>>>> What do you have in mind - a bdist_wininst lookalike for
>>>> Python packages, built with inno?
>>> Yes. One that creates an Inno setup file and then compiles
>>> everything into an installer using the Inno, but installing
>>> things much like bdist_wininst (and with the option of
>>> building upon the many extra features you get from the
>>> InnoSetup system).
>>>
>>> Bernhard Herzog started one some time ago:
>>> http://mail.python.org/pipermail/distutils-sig/2001-September/002597.html
>> FWIW, the code that's linked from that posting is still unchanged in
>> Thuban and worked fine last time I made a release about a year ago with
>> python 2.3.
> 
>>From the code linked in the posting above:
> 
>         # and invoke 
>         if self.run_inno:
>             self.spawn(["iscc", iss_file])
> 
> This code compiles the generated iss file, but it requires that ISCC is
> on the PATH.  I guess that it would be better to use
> 
>   os.startfile(iss_file, "compile")
> 
> but this requires that os.startfile, which is implemented with
> ShellExecute() on Windows, grows an optional second option.
> Another example use case would be
> 
>   os.startfile("mydocs.pdf", "print")
> 
> If this would be accepted, I could upload/commit a patch for that.

Sounds like a good idea.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Dec 22 2005)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Distutils-SIG mailing list