# Path: pyilper/pilcore.py
# PYTHON_REQUIRED_MAJOR=3
# 
# PYTHON_REQUIRED_MINOR=5
# 
# Path: pyilper/pyilpermain.py
# def main():
#    parser=argparse.ArgumentParser(description='pyILPER command line invocation')
#    parser.add_argument('--instance', '-instance', default="", help="Start a pyILPER instance INSTANCE. This instance has an own configuration file.")
#    parser.add_argument('--clean','-clean',action='store_true',help="Start pyILPER with a config file which is reset to defaults")
#    parser.add_argument('--cc','-cc',action='store_true',help="Copy configuration from development to production version and vice versa")
#    args=parser.parse_args()
#    if args.cc:
#       copy_config(args)
#       sys.exit(1)
# 
#    if not isWINDOWS():
#       signal.signal(signal.SIGQUIT, dumpstacks)
#    app = QtWidgets.QApplication(sys.argv)
#    pyilper= cls_pyilper(args)
#    sys.exit(app.exec_())


import sys
import os
from pyilper.pilcore import PYTHON_REQUIRED_MAJOR, PYTHON_REQUIRED_MINOR
from pyilper import main
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Helper script to start pyilper from package directory
#
# 01.03.2018 jsi
# - consider the required python version specified in pilcore.py
#

if sys.version_info < ( PYTHON_REQUIRED_MAJOR, PYTHON_REQUIRED_MINOR):
    # python too old, kill the script
    sys.exit("This script requires Python "+str(PYTHON_REQUIRED_MAJOR)+"."+str(PYTHON_REQUIRED_MINOR)+" or newer!")
sys.path.append(os.path.dirname(os.path.abspath(__file__)))

# Path: pyilper/pilcore.py
# PYTHON_REQUIRED_MAJOR=3
# 
# PYTHON_REQUIRED_MINOR=5
# 
# Path: pyilper/pyilpermain.py
# def main():
#    parser=argparse.ArgumentParser(description='pyILPER command line invocation')
#    parser.add_argument('--instance', '-instance', default="", help="Start a pyILPER instance INSTANCE. This instance has an own configuration file.")
#    parser.add_argument('--clean','-clean',action='store_true',help="Start pyILPER with a config file which is reset to defaults")
#    parser.add_argument('--cc','-cc',action='store_true',help="Copy configuration from development to production version and vice versa")
#    args=parser.parse_args()
#    if args.cc:
#       copy_config(args)
#       sys.exit(1)
# 
#    if not isWINDOWS():
#       signal.signal(signal.SIGQUIT, dumpstacks)
#    app = QtWidgets.QApplication(sys.argv)
#    pyilper= cls_pyilper(args)
#    sys.exit(app.exec_())


# Path: start.py
import sys
import os
from pyilper.pilcore import PYTHON_REQUIRED_MAJOR, PYTHON_REQUIRED_MINOR
from pyilper import main

#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Helper script to start pyilper from package directory
#
# 01.03.2018 jsi
# - consider the required python version specified in pilcore.py
#

if sys.version_info < ( PYTHON_REQUIRED_MAJOR, PYTHON_REQUIRED_MINOR):
    # python too old, kill the script
    sys.exit("This script requires Python "+str(PYTHON_REQUIRED_MAJOR)+"."+str(PYTHON_REQUIRED_MINOR)+" or newer!")
sys.path.append(os.path.dirname(os.path.abspath(__file__)))

main()