SWIG again

Jerry He rebound1618 at yahoo.com
Sat Aug 6 18:53:33 EDT 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