Files
ols/bin/cellid-ols-import
2023-03-30 20:38:37 +03:00

16 lines
415 B
Python
Executable File

#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Entry point script for running ols inside the source tree
import re
import sys
from pathlib import Path
# Run from local source dir
sys.path.insert(0, str(Path(sys.argv[0]).resolve().parent.parent))
from ols.resolver.cellid.cellid_import import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())