aboutsummaryrefslogtreecommitdiff
path: root/scripts/conf.py
blob: af165c43eba09b46a114ed868d7bb72445cd2906 (plain)
1
2
3
4
5
6
7
8
9
10
# This file is only loading ../conf.py
import os
import importlib.machinery

confpy = os.path.dirname(__file__) + "/../conf.py"

conf = importlib.machinery.SourceFileLoader("module.name", confpy).load_module()

def sf(path):
	return os.path.join(os.path.relpath(conf.absroot), path)