swiginac
Mark Brethen
mark.brethen at gmail.com
Sat Nov 14 11:53:33 PST 2015
> On Nov 14, 2015, at 1:25 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
>
>
>> On Nov 14, 2015, at 1:21 PM, Joshua Root <jmr at macports.org> wrote:
>>
>> Forgot to import LooseVersion from distutils.version?
>
> Setup.py:
>
> from distutils.core import setup, Extension
> import distutils
> from sys import argv, exit
> import os
> from os.path import join as pjoin, sep as psep
> import commands
>
> Mark
>
>
>
>
Added "from distutils.version import LooseVersion” but still fails:
:info:build running build
:info:build running build_py
:info:build file swiginac.py (for module swiginac) not found
:info:build file swiginac.py (for module swiginac) not found
:info:build running build_ext
:info:build building '_swiginac' extension
:info:build swigging swiginac.i to swiginac_wrap.c
:info:build swig -python -o swiginac_wrap.c swiginac.i
:info:build /opt/local/share/swig/3.0.7/python/std_common.i:73: Error: Syntax error in input(1).
:info:build error: command 'swig' failed with exit status 1
StrictVersion did not work. What is argv.insert()? I could not find any documentation for this command.
Mark
More information about the macports-dev
mailing list