summaryrefslogtreecommitdiff
path: root/build-system/configure.py
blob: 8fdfaedc4e262f289e4b64e79c6416e9331c7241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This configure.py.template file is in the public domain.
import sys
from pathlib import Path
from talerbuildconfig import *

b = BuildConfig()
b.enable_prefix()
b.enable_configmk()

# Base URL override for the site. The default (empty string)
# will fall back to the base URL defined in www.yml.
b.use(Option("baseurl", "Override base URL that the site will run on", default="", required=False))

b.use(PythonTool())
b.use(PyBabelTool())
b.use(PosixTool("cp"))
b.use(PosixTool("echo"))
b.use(PosixTool("env"))
b.use(PosixTool("printf"))
b.use(PosixTool("grep"))
b.use(PosixTool("mkdir"))
b.use(PosixTool("rm"))
b.use(PosixTool("sh"))
b.use(PosixTool("msgmerge"))
b.use(PosixTool("git"))
b.use(BrowserTool())
b.run()