示例#1
0
文件: versions.py 项目: PennyQ/glue
 def _update_deps(self):
     status = get_status_as_odict()
     self._text = ""
     for name, version in [('Glue', __version__)] + list(status.items()):            
         check = QtWidgets.QTreeWidgetItem(self.ui.version_tree.invisibleRootItem(),
                                       [name, version])
         self._text += "{0}: {1}\n".format(name, version)
示例#2
0
文件: versions.py 项目: hamogu/glue
 def _update_deps(self):
     status = get_status_as_odict()
     self._text = ""
     for name, version in [('Glue', __version__)] + list(status.items()):
         check = QtWidgets.QTreeWidgetItem(
             self.ui.version_tree.invisibleRootItem(), [name, version])
         self._text += "{0}: {1}\n".format(name, version)
示例#3
0
文件: feedback.py 项目: glue-viz/glue
def diagnostics():
    """
    Return a some system informaton useful for debugging
    """
    versions = ""
    for package, version in get_status_as_odict().items():
        versions += "* {0}: {1}\n".format(package, version)
    return versions.strip()
示例#4
0
文件: feedback.py 项目: sunn-e/glue
def diagnostics():
    """
    Return a some system informaton useful for debugging
    """
    versions = ""
    for package, version in get_status_as_odict().items():
        versions += "* {0}: {1}\n".format(package, version)
    return versions.strip()