LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ns3-3.17-no_python_build_dependencies.patch of Package ns3 (Project home:RedDwarf)

Index: src/visualizer/wscript
===================================================================
--- src/visualizer/wscript.orig
+++ src/visualizer/wscript
@@ -19,19 +19,6 @@ def configure(conf):
         conf.env['MODULES_NOT_BUILT'].append('visualizer')
         return
 
-    modules_missing = []
-    for pymod in required_python_modules:
-        try:
-            conf.check_python_module(pymod)
-        except conf.errors.ConfigurationError:
-            modules_missing.append(pymod)
-    if modules_missing:
-        conf.report_optional_feature("PyViz", "PyViz visualizer",
-                                     False, "Missing python modules: %s" % (', '.join(modules_missing),))
-        conf.env['ENABLE_PYVIZ'] = False
-        conf.env['MODULES_NOT_BUILT'].append('visualizer')
-        return
-
     conf.report_optional_feature("PyViz", "PyViz visualizer", True, None)