[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9670 - trunk/gnue-common/src/setup
From: |
reinhard |
Subject: |
[gnue] r9670 - trunk/gnue-common/src/setup |
Date: |
Wed, 6 Jun 2007 03:21:33 -0500 (CDT) |
Author: reinhard
Date: 2007-06-06 03:21:33 -0500 (Wed, 06 Jun 2007)
New Revision: 9670
Modified:
trunk/gnue-common/src/setup/GSetup.py
Log:
Added keywords for date and time.
Modified: trunk/gnue-common/src/setup/GSetup.py
===================================================================
--- trunk/gnue-common/src/setup/GSetup.py 2007-06-06 07:47:32 UTC (rev
9669)
+++ trunk/gnue-common/src/setup/GSetup.py 2007-06-06 08:21:33 UTC (rev
9670)
@@ -23,6 +23,7 @@
import sys
import string
+import time
import os
from distutils import log
from distutils.core import setup
@@ -107,7 +108,10 @@
':MINOR:': str(version.minor),
':PHASE:': str(version.phase),
':BUILD:': str(version.build),
- ':SVN:': str(version.svn)}
+ ':SVN:': str(version.svn),
+ ':DATE_ISO:': time.strftime('%Y-%m-%d', time.gmtime()),
+ ':DATE_RFC:': time.strftime('%a, %d %b %Y', time.gmtime()),
+ ':TIME:': time.strftime('%H:%M:%S', time.gmtime())}
# Hack for version numbering schemes that are limited to x.y.z.
if version.phase == 'final':
keywords[':FINAL:'] = str(version.build)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9670 - trunk/gnue-common/src/setup,
reinhard <=