mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-09-01 17:23:42 +02:00
14 lines
218 B
Plaintext
14 lines
218 B
Plaintext
|
#!/usr/bin/python
|
||
|
|
||
|
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()
|
||
|
|
||
|
|
||
|
|