1 2 3 4 5 6 7
import os base = os.path.dirname(__file__) dest = os.path.join(os.path.dirname(os.path.dirname(base)), 'htdocs') dirs[base] = os.path.join(dest, 'docs') dirs[os.path.join(base, 'web')] = dest template = os.path.join(base, 'template.tmpl')