[mapserver-users] missing __init__ in python mapscript (fwd)
Tom Russell
trussell at mtcsc.com
Sat Jan 26 20:29:52 PST 2002
Norman,
It appears that the problem is indeed related to the Setup file, as I was
able to reproduce the 'missing __init__" error on a sample project by
leaving out a middle term, which is the original c source file(s).
Apparently, it should be something like the following:
*shared*
mapscriptc layer.c label.c mapfile.c ... mapscript_wrap.c
It doesn't seem correct that every Mapserver source file should have to be
listed, though.
Tom
----- Original Message -----
From: Norman Vine <nhv at cape.com>
To: <teb at mallit.fr.umn.edu>; <mapserver-users at lists.gis.umn.edu>
Cc: <trussell at mtcsc.com>
Sent: Friday, January 25, 2002 11:52 AM
Subject: RE: [mapserver-users] missing __init__ in python mapscript (fwd)
> teb at mallit.fr.umn.edu writes:
> >
> >In the book, Python Essential Reference, there's a part at the end of =
> >the chapter on extending and embedding python where Beazley describes =
> >the process of compiling extensions. In this, he creates a
> >file, Setup, =
> >which is used by make in the build process. In adapting this
> >to building =
> >mapscript, my file looks like the following:
> >
> >*shared*
> >mapscript mapscript_wrap.c
>
> try
>
> *shared*
> mapscriptc mapscript_wrap.c
>
> Cheers
>
> Norman
>
More information about the MapServer-users
mailing list