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
Raw Normal View History

2018-10-12 23:00:20 +02:00
#!/usr/bin/env python
import sys
from pathlib import Path, PurePath
2018-10-12 23:00:20 +02:00
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)
)
2018-10-12 23:00:20 +02:00
builder.build()