swig and init_module or initmodule, windows XP
Thomas Jung
jung-paz at t-online.de
Tue Jun 17 12:59:14 EDT 2003
"Thomas Heller" <theller at python.net> schrieb im Newsbeitrag
news:el1sk6jw.fsf at python.net...
> "Thomas Jung" <jung-paz at t-online.de> writes:
>
> > (BTW: what is top-posting ? How did I possibly do that ? I am sitting in
> > front of a windows machine, using outlook, and not really familiar with
> > windows. My family is forcing me now to use this :-)
>
> See http://jargon.watson-net.com/jargon.asp?w=top-post
> and also http://jargon.watson-net.com/jargon.asp?w=bottom-post.
>
>
thanx for the hint ...
> IMO you should change your setup script in this way:
>
> ========================================================================
> # setup.py
> import distutils
> from distutils.core import setup, Extension
> setup(name = "Simple example from swig website",
> version = "2.2",
> ext_modules = [Extension("_example",["example.i","example.c"])])
> ========================================================================
>
> Does this work (when you do 'import _example' afterwards?
>
> Thomas
Halleluja !
Es worked !
Thousand Dank!
More information about the Python-list
mailing list