diff -r 700f4d003349 -r fb35b9db9ca1 yml2proc --- a/yml2proc Thu Oct 27 12:51:47 2016 +0200 +++ b/yml2proc Tue Mar 17 10:26:38 2020 +0100 @@ -21,6 +21,8 @@ from yml2.pyPEG import parse, u import yml2.backend as backend +YML_DEFAULT_PATH = [os.path.dirname(backend.__file__)] + def printInfo(option, opt_str, value, parser): sys.stdout.write(__doc__) sys.exit(0) @@ -89,7 +91,7 @@ backend.encoding = options.encoding -dirs = os.environ.get('YML_PATH', '.').split(':') +dirs = os.environ.get('YML_PATH', '.').split(':') + YML_DEFAULT_PATH backend.includePath.extend(dirs) if options.xml2yml: