setup.py: Change format of the version number (illegal in rpm and buggy in deb packages).

This commit is contained in:
Valentin Lorentz 2013-09-11 19:13:59 +02:00
parent 0cb22ce6be
commit 0fb2ee1bf7
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ except:
pass
if not version:
from time import gmtime, strftime
version = 'installed on ' + strftime("%Y-%m-%dT%H:%M:%S+0000", gmtime())
version = 'installed on ' + strftime("%Y-%m-%dT%H-%M-%S", gmtime())
try:
os.unlink(os.path.join('src', 'version.py'))
except OSError: # Does not exist