2018-04-27 15:18:22 +02:00
|
|
|
#!/usr/bin/env python2
|
2009-09-02 20:45:53 +02:00
|
|
|
|
|
|
|
import os,sys
|
|
|
|
ROOT = os.path.dirname(__file__)+'/../../'
|
|
|
|
file = open(ROOT+'src/version.py','r')
|
|
|
|
exec file
|
|
|
|
file.close()
|
|
|
|
file = open(sys.argv[1],'a')
|
|
|
|
print >>file, 'Version:'+version
|
|
|
|
file.close()
|
|
|
|
|
|
|
|
|
|
|
|
|