distutils and data_files (many files and directories)

Lee Harr missive at frontiernet.net
Tue Dec 10 09:16:31 EST 2002


In article <uvbs857kon9l67 at corp.supernews.com>, Lee Harr wrote:
>> If I want to distribute a directory full of data with my
>> module (images, and directories full of images, mostly)

> Ah... ok. I see it now:
> 
> MANIFEST.in
> 

One real handy thing I found looking at how Twisted set up
their MANIFEST.in is global-exclude, as in:

global-exclude */CVS/*

which will exclude any CVS directories in your source tree.
I am also using:

global-exclude */.xvpics/*

to keep those pesky thumbnail files from following everywhere.

I do not see global-exclude mentioned anywhere in the online docs.




More information about the Python-list mailing list