mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
setup.py: Change format of the version number (illegal in rpm and buggy in deb packages).
This commit is contained in:
parent
0cb22ce6be
commit
0fb2ee1bf7
2
setup.py
2
setup.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user