librefi/librefi/__main__.py

16 lines
367 B
Python
Raw Normal View History

2020-11-29 01:14:58 +01:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
2020-08-30 16:26:29 +02:00
2020-11-29 01:14:58 +01:00
import sys
if __package__ is None and not hasattr(sys, 'frozen'):
# direct call of __main__.py
import os.path
path = os.path.realpath(os.path.abspath(__file__))
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))
2020-12-03 08:25:22 +01:00
from librefi import main
2020-11-29 01:14:58 +01:00
if __name__ == '__main__':
2020-12-03 08:25:22 +01:00
main()