distutils: How "uninclude" one Python file and/or one .h (C header) file???

Christian Seberino seberino at spawar.navy.mil
Tue Oct 21 16:41:05 EDT 2003


I specify packages in my setup.py but what if I want 
all py files in a directory but one???

How remove just that one?? (Without listing all files I want explicitly??)

I need header files to build a C extension but I DON't want headers
installed.  

*How do I include header files in the tar.gz (tarball) file but NOT have
them be installed when "python setup.py install" done??

Chris




More information about the Python-list mailing list