swiginac

Joshua Root jmr at macports.org
Sat Nov 14 08:38:43 PST 2015


On 2015-11-15 02:57 , Mark Brethen wrote:
> swig_opt = '--swig-cpp'
> if distutils.__version__ >= '2.4': swig_opt = '--swig-opts=-c++'

OK, looks like the setup.py is busted after all (and always was...):

This is a string comparison, which does not correctly compare version
numbers like 2.7.10 (the current version) and 2.4. One of the classes
from distutils.version should be used instead (StrictVersion or
LooseVersion).

- Josh


More information about the macports-dev mailing list