Date: Sat, 5 Dec 2015 09:54:21 -0800 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: ports <freebsd-ports@freebsd.org>, freebsd-python@freebsd.org Subject: Re: Python and SWIG support in ports? Message-ID: <CAG=rPVcC-Mx-pupuRGDjPmAMc2r6VPo9NmOrJxSbq49xYw-y0g@mail.gmail.com> In-Reply-To: <CAG=rPVc6AA37NFJkP%2BGaB6Y4BQP4aBYRLGGtQ6qc3VbmC38Qsg@mail.gmail.com> References: <CAG=rPVc6AA37NFJkP%2BGaB6Y4BQP4aBYRLGGtQ6qc3VbmC38Qsg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 4, 2015 at 2:40 PM, Craig Rodrigues <rodrigc@freebsd.org> wrote: > Hi, > > I am working with the upstream maintainer of M2Crypto ( > https://gitlab.com/m2crypto/m2crypto ). > > In the distutils that comes with Python, the swig binary is harcoded > to "swig" if on a POSIX system: > > > https://hg.python.org/cpython/file/v2.6.2/Lib/distutils/command/build_ext.py#l635 > > OK, so after reading this e-mail: https://mail.python.org/pipermail/distutils-sig/2004-October/004204.html I see that it is possible to override the value of "swig" by doing: python setup.py build_ext --swig=swig2.0 I tried that for M2Crypto and it works. Is that what the existing Python ports with SWIG are doing? -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVcC-Mx-pupuRGDjPmAMc2r6VPo9NmOrJxSbq49xYw-y0g>