[gnue] r9488 - trunk/gnue-forms

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-04-11 04:04:57 -0500 (Wed, 11 Apr 2007)
New Revision: 9488

Modified:
   trunk/gnue-forms/INSTALL
   trunk/gnue-forms/setup.py
Log:
Updated dependency on gnue-common to 0.6.8.


Modified: trunk/gnue-forms/INSTALL
===================================================================
--- trunk/gnue-forms/INSTALL	2007-04-11 08:38:29 UTC (rev 9487)
+++ trunk/gnue-forms/INSTALL	2007-04-11 09:04:57 UTC (rev 9488)
@@ -21,13 +21,12 @@
 ------------
 Forms needs the following in order to run:
 
-   * GNUe Common 0.5.3+
+   * GNUe Common 0.6.8 or newer
 
    * A user-interface library:
       - wxPython (http://www.wxPython.org)
       - GTK 2
       - QT 3
-      - NCurses
 
 Also, Forms can make use of the following tools if they are
 installed:
@@ -135,7 +134,6 @@
 mxDateTime                www.lemburg.com/files/python/mxDateTime.html
                         (this link is gone as of 12 Jan 2002)
                         (this may be included in python 2.x?)
-[pyncurses-0.3.tar.gz:          pyncurses.sourceforge.net]
 
 
 Upgrading Forms

Modified: trunk/gnue-forms/setup.py
===================================================================
--- trunk/gnue-forms/setup.py	2007-04-11 08:38:29 UTC (rev 9487)
+++ trunk/gnue-forms/setup.py	2007-04-11 09:04:57 UTC (rev 9488)
@@ -101,6 +101,20 @@
   def check_dependencies (self):
 
     # -------------------------------------------------------------------------
+    # GNUe Common
+    try:
+      print "checking GNUe Common Library"
+      from gnue.common import version
+      if version.get_hexversion() < '0006f800':
+        print "---"
+        print "GNUe Common Library 0.6.8 or newer required."
+        sys.exit(1)
+    except ImportError:
+      print "---"
+      print "GNUe Common Library 0.6.8 or newer required."
+      sys.exit(1)
+
+    # -------------------------------------------------------------------------
     # mxDateTime
     try:
       print "checking mxDateTime library"
@@ -116,16 +130,8 @@
     # Verify at least one UI is installed
     UIOK = 0
 
-    # PyNcurses
-    print "checking Python ncurses library (pyncurses) (currently not working)"
-    try:
-      import ncurses.form
-      UIOK = 0
-    except ImportError:
-      pass
-
     # Curses
-    print "checking Python curses library (curses) (currently not working)"
+    print "checking Python curses library (curses)"
     try:
       import curses
       UIOK = 0
@@ -185,7 +191,6 @@
 Please install one of the following packages:
   wxPython      - www.wxpython.org
   pyGTK2        - ftp://ftp.gtk.org/pub/gtk/python/v2.0/
-  pyncurses     - pyncurses.sourceforge.net
   python curses - Read python install docs on how to activate
 The file 'INSTALL' contains more information about dependencies.
 """
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.