python-ESL icon indicating copy to clipboard operation
python-ESL copied to clipboard

Uncompatible with swig4

Open ergoithz opened this issue 5 years ago • 4 comments

Swig 4 deprecated -classic. https://github.com/sangoma/python-ESL/blob/a9ce41832cbd23557183120dd5027631f70d6ea2/setup.py#L25

Relevant output (compilation fails with exit status 1):

    swig -python -classic -c++ -DMULTIPLICITY -threads -I. -o ESL_wrap.cpp ESL.i
    Deprecated command line option: -classic. This option is no longer supported.
    error: command 'swig' failed with exit status 1

Tested in swig 4.0.1.

ergoithz avatar Feb 03 '20 15:02 ergoithz

Same issue here, any fix for this? Just remove the -classic?

mneirynck avatar Sep 16 '20 18:09 mneirynck

Same issue here also

gpetrom avatar Aug 01 '22 09:08 gpetrom

Hi I have manage to solve this apt install git and then pip install -e git+https://github.com/alexey-khabulyak/python-ESL#egg=python-ESL

gpetrom avatar Aug 01 '22 11:08 gpetrom

You can also install with pip and lock swig to a 3.X.X version as well, which is what I ended up doing as python-ESL was the only package that was making use of it.

BasicExp avatar Oct 06 '22 18:10 BasicExp