|
|
@ -1,10 +1,12 @@ |
|
|
|
#!/usr/bin/python |
|
|
|
import sys |
|
|
|
string = sys.stdin.read() |
|
|
|
import hashlib |
|
|
|
import os |
|
|
|
|
|
|
|
import hashlib, os |
|
|
|
from versions import version, version_win, version_mac |
|
|
|
|
|
|
|
string = sys.stdin.read() |
|
|
|
|
|
|
|
_tgz = "Electrum-%s.tar.gz" % version |
|
|
|
_zip = "Electrum-%s.zip" % version |
|
|
|
|
|
|
@ -25,7 +27,6 @@ md5_win = hashlib.md5(file('binaries/'+_win, 'r').read()).digest().encode('hex') |
|
|
|
md5_win_setup = hashlib.md5(file('binaries/'+_win_setup, 'r').read()).digest().encode('hex') |
|
|
|
md5_win_portable = hashlib.md5(file('binaries/'+_win_portable, 'r').read()).digest().encode('hex') |
|
|
|
|
|
|
|
|
|
|
|
string = string.replace("##VERSION##", version) |
|
|
|
string = string.replace("##VERSION_WIN##", version_win) |
|
|
|
string = string.replace("##VERSION_MAC##", version_mac) |
|
|
@ -36,8 +37,4 @@ string = string.replace("##md5_win##", md5_win) |
|
|
|
string = string.replace("##md5_win_setup##", md5_win_setup) |
|
|
|
string = string.replace("##md5_win_portable##", md5_win_portable) |
|
|
|
|
|
|
|
|
|
|
|
print string |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|