Python and SWIG support in ports?
Craig Rodrigues
rodrigc at FreeBSD.org
Fri Dec 4 22:40:31 UTC 2015
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
In our ports, we name our swig binaries things like
"/usr/local/bin/swig2.0" or
"/usr/local/bin/swig3.0". How do we deal with this in Python ports which
use
SWIG?
If possible, I'd like to push a fix upstream for FreeBSD, if the upstream
maintainer
is OK with it.
Thanks.
--
Craig
More information about the freebsd-python
mailing list