[Distutils] data-files in folder

P.J. Eby pje at telecommunity.com
Wed Jul 29 01:45:09 CEST 2009


At 04:41 PM 7/28/2009 -0400, Pavel Panchekha wrote:
>I have a folder tree of data files. I can't seem to get distutils to 
>recognize "data/*" as data_files (even though it works for 
>package_data). Is there any nice way of specifying that I have a 
>folder of data files?

glob.glob("folder/*").replace(os.sep, '/') or something like it might 
work.  See the glob module docs.



More information about the Distutils-SIG mailing list