diff -r 482106d33bf6 -r 00a196f8d14a yml2proc --- a/yml2proc Thu Mar 19 14:54:23 2020 +0100 +++ b/yml2proc Thu Mar 19 16:45:02 2020 +0100 @@ -1,1 +1,10 @@ -yml2/yml2proc.py \ No newline at end of file +#!/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())