Browse Source

give Pmw another try

rdb 14 years ago
parent
commit
afc0cf2be7
1 changed files with 2 additions and 8 deletions
  1. 2 8
      direct/src/p3d/thirdparty.pdef

+ 2 - 8
direct/src/p3d/thirdparty.pdef

@@ -38,14 +38,8 @@ class tk(package):
            'direct.tkpanels',
            'direct.tkwidgets')
 
-    # Hack because Pmw uses weird import stuff.
-    try:
-        import Pmw
-    except ImportError:
-        # Don't fail if Pmw isn't installed.
-        Pmw = None
-    if Pmw:
-        module('Pmw', 'Pmw.*')
+    module('Pmw.Pmw_1_3.lib.*', 'Pmw.Pmw_1_2.lib.*')
+    module('Pmw')
 
 class sqlite(package):
     config(display_name = "SQLite Interface")