Commits

Anonymous committed fe4ac78

No longer refer to location of *.pkg parts to make them overridable by local codebases for example

  • Participants
  • Parent commits 55857da

Comments (0)

Files changed (1)

 email-variable-returnpath-regex = noreply\.(\w+)@${config:email-host-regex}
 email-incoming-pop-user =
 email-incoming-pop-password =
-assets-path = ${smartpr.pkg:location}/smartpr/media
+assets-path = ${smartpr:setup}/smartpr/media
 userfiles-path = ${buildout:directory}/userfiles
 apache2-loglevel = warn
 apache2-log-path =
 
 [smartpr.settings]
 recipe = lovely.recipe:mkfile
-path = ${smartpr.pkg:location}/smartpr/settings/local.py
+path = ${smartpr:setup}/smartpr/settings/local.py
 content =
 	from smartpr.settings import env
 	ENV = env.${config:env}
 on_install = true
 on_update = true
 # Substition in two steps to prevent the name of the template variable ('${config:domain}') to be parsed by ConfigParser.
-cmds = sed 's/{config:domain}/${config:visit-domain}/g' ${smartpr.pkg:location}/smartpr/fixtures/initial_data.json.template | sed 's/$[hack]*${config:visit-domain}/${config:visit-domain}/g' > ${smartpr.pkg:location}/smartpr/fixtures/initial_data.json
+cmds = sed 's/{config:domain}/${config:visit-domain}/g' ${smartpr:setup}/smartpr/fixtures/initial_data.json.template | sed 's/$[hack]*${config:visit-domain}/${config:visit-domain}/g' > ${smartpr:setup}/smartpr/fixtures/initial_data.json
 
 [syncdb]
 recipe = iw.recipe.cmd