Distutils -- specifying compiled output name

jeremito jeremit0 at gmail.com
Thu May 25 14:11:56 EDT 2006


I am using distutils to comiple/install a c extension created with
SWIG.  However I need to be able to specify the output filename from
gcc.  I tried doing this with the "extra_compile_args" and
"extra_link_args" by setting them equal to "-o MyOutputName.so" but
that didn't work.  Can someone show me how to specify the output name?
Thanks,
Jeremy




More information about the Python-list mailing list