configure.py (750B)
1 # This configure.py.template file is in the public domain. 2 import sys 3 from pathlib import Path 4 from talerbuildconfig import * 5 6 b = BuildConfig() 7 b.enable_prefix() 8 b.enable_configmk() 9 10 # Base URL override for the site. The default (empty string) 11 # will fall back to the base URL defined in properties.yml. 12 b.use(Option("baseurl", "Override base URL that the site will run on", default="", required=False)) 13 14 b.use(PythonTool()) 15 b.use(PyBabelTool()) 16 b.use(PosixTool("cp")) 17 b.use(PosixTool("echo")) 18 b.use(PosixTool("env")) 19 b.use(PosixTool("printf")) 20 b.use(PosixTool("grep")) 21 b.use(PosixTool("mkdir")) 22 b.use(PosixTool("rm")) 23 b.use(PosixTool("sh")) 24 b.use(PosixTool("msgmerge")) 25 b.use(PosixTool("git")) 26 b.use(PosixTool("find")) 27 b.use(BrowserTool()) 28 b.run()