yml2proc
author Claudio Luck <claudio.luck@pep.foundation>
Thu, 19 Mar 2020 17:17:22 +0100
changeset 66 701c5e980f33
parent 65 d659b8c2ed22
permissions -rwxr-xr-x
read version from setup.cfg
#!/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())