[Distutils] patch for more SWIG support

M.-A. Lemburg mal at egenix.com
Thu Oct 14 01:03:51 CEST 2004


Lars Immisch wrote:
> Hi Anthony,
> 
>> http://sourceforge.net/tracker/index.php?func=detail&aid=1046404&group_id=5470&atid=105470 
> 
> 
> 
> As promised, I have attached a patch (and submitted to SourceForge) that 
>  deals both with:
> 
> from distutils.core import setup,Extension
> 
> setup (name = "aculab",
>        ext_modules = [Extension("_aculab", ['acu.i'],
>                       swig_opts=['-modern', '-I../include']])
> 
> 
> and the commandline argument:
> 
> python setup.py build_ext --swig-opts="-modern -I../include"
> 
> When both the keyword argument and the commandline option are given, the 
> commandline option takes precedence.
> 
> I hope this is consistent with existing distutils usage.

Looks good.

-- 
Marc-Andre Lemburg
eGenix.com

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