So, here's what I did: 1) Move settings.py to /etc/%{name}/00-default.conf 2) Process django-settings.py.in (attached), replacing [[confpath]] with /etc/%{name}, and saving it as settings.py in the project root 3) Profit! Well, it was a little more complex than that, but that's the gist of it. Full details here: http://ivazquez.fedorapeople.org/packages/transifex/transifex.spec -- Ignacio Vazquez-Abrams <ivazqueznet@xxxxxxxxx> PLEASE don't CC me; I'm already subscribed
import os.path import glob conffiles = glob.glob(os.path.join('[[confpath]]', '*.conf')) conffiles.sort() for f in confiles: execfile(f)
Attachment:
signature.asc
Description: This is a digitally signed message part
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list