20 lines
525 B
Python
20 lines
525 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
fichier de configuration pour rougail
|
|
|
|
"""
|
|
from os.path import join, isfile, abspath, dirname
|
|
from pathlib import Path
|
|
|
|
rougailroot = '/var/rougail'
|
|
patch_dir = join(rougailroot, 'patches')
|
|
manifests_dir = join(rougailroot, 'manifests')
|
|
templates_dir = join(rougailroot, 'templates')
|
|
dtddir = join(dirname(abspath(__file__)), 'data')
|
|
dtdfilename = join(dtddir, 'rougail.dtd')
|
|
|
|
# chemin du répertoire source des fichiers templates
|
|
patch_dir = '/srv/rougail/patch'
|
|
|
|
variable_namespace = 'rougail'
|