[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9951 - trunk/gnue-common/src/base
From: |
reinhard |
Subject: |
[gnue] r9951 - trunk/gnue-common/src/base |
Date: |
Fri, 9 Oct 2009 06:41:05 -0500 (CDT) |
Author: reinhard
Date: 2009-10-09 06:41:05 -0500 (Fri, 09 Oct 2009)
New Revision: 9951
Modified:
trunk/gnue-common/src/base/setup.py
Log:
Fix for importing package info.
Modified: trunk/gnue-common/src/base/setup.py
===================================================================
--- trunk/gnue-common/src/base/setup.py 2009-10-09 07:46:49 UTC (rev 9950)
+++ trunk/gnue-common/src/base/setup.py 2009-10-09 11:41:05 UTC (rev 9951)
@@ -126,9 +126,9 @@
# Import the package root module
# -----------------------------------------------------------------------------
-if __name__ == '__main__':
+try:
import src as package_info
-else:
+except ImportError:
package_info = object() # Fake object to make epydoc happy
package_info.PACKAGE = ""
package_info.TITLE = ""
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9951 - trunk/gnue-common/src/base,
reinhard <=