Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Finding application data after install - a solution?

Reply
Thread Tools

Re: Finding application data after install - a solution?

 
 
Gabriel Genellina
Guest
Posts: n/a
 
      09-26-2009
En Fri, 25 Sep 2009 06:53:18 -0300, Wolodja Wentland
<> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding application data after install - a solution? Wolodja Wentland Python 0 09-19-2009 03:03 PM
Can't install gems after a new ubuntu install Max Williams Ruby 12 07-13-2008 07:41 PM
Install hangs up after 'Download' and before 'Install' Luc Henrot Windows 64bit 3 06-20-2008 05:02 PM
Finding where to store application data portably Tony Houghton Python 22 09-23-2005 05:57 PM
Can't seem to boot from XP install CD (after botched Linux install) Cloud Burst Computer Support 3 05-22-2004 02:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57