changeset 62 | 00a196f8d14a |
parent 58 | a218553807ab |
child 65 | d659b8c2ed22 |
61:482106d33bf6 | 62:00a196f8d14a |
---|---|
1 yml2/yml2c.py |
1 #!/usr/bin/env python3 |
2 import sys, os |
|
3 sys.path.insert(0, os.path.dirname(__file__)) |
|
4 try: |
|
5 from yml2 import yml2c |
|
6 except ImportError as e: |
|
7 import pkg_resources |
|
8 pkg_resources.require('YML2') |
|
9 from yml2 import yml2c |
|
10 sys.exit(yml2c.main()) |