#!/usr/bin/env python3 import sys, os sys.path.insert(0, os.path.dirname(__file__)) try: from yml2 import yml2proc except ModuleNotFoundError: import pkg_resources pkg_resources.require('YML2') from yml2 import yml2proc sys.exit(yml2proc.main())