[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9672 - trunk/gnue-common
From: |
reinhard |
Subject: |
[gnue] r9672 - trunk/gnue-common |
Date: |
Wed, 6 Jun 2007 03:39:25 -0500 (CDT) |
Author: reinhard
Date: 2007-06-06 03:39:24 -0500 (Wed, 06 Jun 2007)
New Revision: 9672
Modified:
trunk/gnue-common/setup.py
Log:
Did the same changes in setup.py than in GSetup.py.
Modified: trunk/gnue-common/setup.py
===================================================================
--- trunk/gnue-common/setup.py 2007-06-06 08:26:40 UTC (rev 9671)
+++ trunk/gnue-common/setup.py 2007-06-06 08:39:24 UTC (rev 9672)
@@ -288,14 +288,17 @@
# List of keywords to replace.
keywords = {
- ':PACKAGE:': PACKAGE.lower(),
- ':TITLE:': TITLE,
- ':VERSION:': version.get_version(),
+ ':PACKAGE:': self.distribution.get_name(),
+ ':TITLE:': self.distribution.get_description(),
+ ':VERSION:': self.distribution.get_version(),
':MAJOR:': str(version.major),
':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] r9672 - trunk/gnue-common,
reinhard <=