En Fri, 25 Sep 2009 06:53:18 -0300, Wolodja Wentland <wentl...@cl.uni-heidelberg.de> escribió:

How do you you *install* this file within /etc ? Do users have to copy
it themselves into /etc from DATA_DIR/foo/etc/fooapplication.conf.sample
?

Nothing fancy here:

setup(data_files=[
       ('/etc/foo.conf', ['foo.conf.sample']),

If --install-data is used, one has to edit the /etc/foo.conf file by hand. I understand you want this step to be automatic, and I admit it would be great, but none of my users complained until now (not that there are so many...!)

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to