rougail/src/rougail/config.py

15 lines
354 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:17:25 +02:00
rougailroot = dirname(abspath(__file__))
dtddir = join(rougailroot, 'data')
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'