SWIG+Distutils - no harmony?
Thomas Heller
thomas.heller at ion-tof.com
Wed Jan 16 05:54:17 EST 2002
More information about the Python-list mailing list
Wed Jan 16 05:54:17 EST 2002
- Previous message (by thread): Stop and go - two Python(Win) questions
- Next message (by thread): Stop and go - two Python(Win) questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Martin Bless" <m.bless at gmx.de> wrote in message news:3c459006.8635157 at news.muenster.de... > Getting courageous I try building 'example.pyd' > from the SWIG 'Simple Example' using SWIG and the Distutils. > Looks promising but doesn't succeed. I didn't > modify 'example.c' and 'example.i'. > > Problems/questions: > > (1) Is 'setup.py' ok? Your files are ok. > (2) BEWARE: What's really shocking: > After see (unsuccessful) > python setup.py build -cmingw32 > the original 'example.c' is GONE AND AWAY - > replaced by the wrapper. > (3) What's going wrong? A distutils bug. Support for SWIG is rather poor. SWIGging a file <pathname>.i creates a file <pathname>.c overwriting any previous file of this name. So better change another name. Thomas
- Previous message (by thread): Stop and go - two Python(Win) questions
- Next message (by thread): Stop and go - two Python(Win) questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list