[Distutils] Copying entire directory
Roberto Riggio
roberto.riggio at create-net.org
Tue Oct 5 19:31:47 CEST 2010
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.
R.
More information about the Distutils-SIG
mailing list