SWIG again

Jerry He rebound1618 at yahoo.com
Sun Aug 7 00:53:33 CEST 2005


Robert Kern
>Write a distutils setup.py script to do all of the
>compiling and linking.

Ok, I wrote the following distutils setup.py script
from distutils.core import setup, Extension

setup (name = 'example',
          version = '2.4',
	  ext_modules = [Extension('example', \ ['example.c',
'example_wrap.c'])] )


I put it in the same directory as the extension files
and I ran from the command line

python setup.py install,

and nothing happened...

Someone help me!!

-Jerry




		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



More information about the Python-list mailing list