Commit 7a7e7f21 authored by Mattia Rizzolo's avatar Mattia Rizzolo

add a ./run script, invoking uitwww.main.cli()

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 5fd6ac7f
Pipeline #145 failed with stage
in 0 seconds
#! /usr/bin/python3
import os
import sys
# Prefer local modules over any system-installed ones to ensure that running a
# Git version from any current working directory does not have unexpected
# behaviour.
parent = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if os.path.exists(os.path.join(parent, 'uitwww', '__init__.py')):
sys.path.insert(0, parent)
if __name__ == '__main__':
from uitwww import main
main.cli()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment