--- lib/lastfm/config.py 2006-06-07 20:45:31.000000000 -0400 +++ lib/lastfm/config.new.py 2008-03-05 01:22:07.000000000 -0500 @@ -7,7 +7,7 @@ # doesn't need to worry about it. I am, however, reusing all this in LastMP, # as it is somewhat more tightly integrated. Really, it's an evil hack. -SYS_CONF = '/etc/%s.conf' +SYS_CONF = '@PREFIX@/etc/%s.conf' USER_CONF = os.path.expanduser('~/.%s.conf') # Defaults @@ -15,9 +15,9 @@ SLEEP_TIME = 5 DEBUG = False -LOG_PATH = '/var/log/lastfm/lastfm.log' -SPOOL_PATH = '/var/spool/lastfm' -PIDFILE_BASE = '/var/run/lastfm' +LOG_PATH = '@PREFIX@/var/log/lastfm/lastfm.log' +SPOOL_PATH = '@PREFIX@/var/spool/lastfm' +PIDFILE_BASE = '@PREFIX@/var/run/lastfm' class NoConfError(Exception): pass