6 version
= '__VERSION__'
8 if sys
.version
[0] < 2 or sys
.version
[1] < 3:
9 print >> sys
.stderr
, "Python 2.3 or better required"
12 dir = os
.path
.dirname(os
.path
.dirname(sys
.argv
[0]))
13 sys
.path
.insert(0, os
.path
.join(dir, 'lib', 'yap'))