Another distutils question

Fernando Pérez fperez528 at yahoo.com
Wed Dec 19 19:32:25 EST 2001


For the distutils gurus out there: how can I specify a hierarchy of nested 
directories to be copied somewhere?


I tried:

data_files = [('doc/'+name,glob.glob('doc/*'))]

where my doc/ directory has subdirs, but this fails when it encounters the 
first subdir name. I guess I could recreate the whole thing manually, but it 
seems so ungodly clumsy and ugly that I'm sure there must be a better way. 
This is Python after all, isn't it? :)

Thanks for any help,


f



More information about the Python-list mailing list