mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-23 04:43:34 +01:00
14 lines
222 B
Python
Executable File
14 lines
222 B
Python
Executable File
#!/usr/bin/env 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()
|
|
|
|
|
|
|