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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.