[Distutils] Extending distutils with 3rd party build commands?

M.-A. Lemburg mal at egenix.com
Thu Oct 21 00:10:05 CEST 2004


Bob Ippolito wrote:
> I've developed two bdist commands (bdist_pkg and bdist_mpkg) for usage 
> on OS X.  These commands apply to any setup.py that supports an 
> "install" command, similar to bdist_wininst, so it would be nice if 
> every setup.py didn't have to explicitly import something in order to 
> get the commands there.
> 
> I know I can make it work with a pth file that imports bdist_pkg, but 
> that seems a bit costly to do because it will end up importing a bunch 
> of stuff (distutils, mainly).
> 
> Is there another way to do it?

Submit them for inclusion in the standard distribution ;-)

Please use a different name for bdist_pkg, though, since pkg is already
used for Solaris binary packages (unless, of course, yours works for
Solaris packages as well).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 20 2004)
 >>> 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