This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
negromate_origins/web/build.py

19 lines
345 B
Python
Executable File

#!/usr/bin/env python
import sys
from pathlib import Path, PurePath
from negromateweb.builder import Builder
if len(sys.argv) == 2:
root_path = sys.argv[1]
else:
# root_path = '/nm/'
root_path = '/'
builder = Builder(
Path('../bideoak'),
Path('../libreto/libreto.pdf'),
root_path=PurePath(root_path)
)
builder.build()