#!/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()