[Distutils] Copying entire directory

P.J. Eby pje at telecommunity.com
Tue Oct 5 19:55:13 CEST 2010


At 07:31 PM 10/5/2010 +0200, Roberto Riggio wrote:
>  On 10/05/2010 06:39 PM, P.J. Eby wrote:
>>data_files = [('etc/foo/www/', ['dashboard/'+f for f in 
>>os.listdir('dashboard')])]
>>
>>(I would also question the idea of targeting installation 
>>directories in this way for a general-use package, but that's a 
>>separate issue.)
>Why? Which would be a better approach? My software is a daemon
>that implements a p2p overlay. The files are an ajax interface to the
>daemon that is served by an embedded web server.

That's not a general-use package.  ;-)



More information about the Distutils-SIG mailing list