rougail/src/rougail/config.py

18 lines
491 B
Python
Raw Normal View History

2019-11-23 08:17:35 +01:00
# -*- coding: utf-8 -*-
"""
2020-04-08 16:17:25 +02:00
fichier de configuration pour rougail
2019-11-23 08:17:35 +01:00
"""
2020-02-16 21:27:42 +01:00
from os.path import join, isfile, abspath, dirname
from pathlib import Path
2019-11-23 08:17:35 +01:00
2020-04-08 16:42:25 +02:00
rougailroot = /var/rougail
patch_dir = join(rougailroot, 'patches')
manifests_dir = join(rougailroot, 'manifests')
templates_dir = join(rougailroot, 'templates')
dtddir = join(dirname(abspath(__file__)), 'data')
2020-04-08 16:17:25 +02:00
dtdfilename = join(ddtdir, 'rougail.dtd')
2019-11-23 08:17:35 +01:00
# chemin du répertoire source des fichiers templates
2020-04-08 16:17:25 +02:00
patch_dir = '/srv/rougail/patch'