svn: account for side-effects of git-svn dcommit
[yap.git] / yap.py
blobfec8d40926079c689763ffeb0f91b1e1255f0eae
1 #!/usr/bin/env python
3 import sys
4 import os
6 if sys.version[0] < 2 or sys.version[1] < 3:
7 print >> sys.stderr, "Python 2.3 or better required"
8 os.exit(1)
10 dir = os.path.dirname(os.path.dirname(sys.argv[0]))
11 sys.path.insert(0, os.path.join(dir, 'lib', 'yap'))
13 import yap
14 yap.Yap().main(sys.argv[1:])