SWIG again

Robert Kern rkern at ucsd.edu
Sat Aug 6 19:01:24 EDT 2005


Please don't make a new thread every time you post.

Jerry He wrote:
> 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...

No output?

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list