# Path: gsdview/compat.py
# def linux_distribution(full_distribution_name=True):
#     try:
#         # Python < 3.8
#         from platform import linux_distribution
#         return linux_distribution(
#             full_distribution_name=full_distribution_name)
#     except ImportError:
#         pass
# 
#     try:
#         from distro import linux_distribution
#         return linux_distribution(
#             full_distribution_name=full_distribution_name)
#     except ImportError:
#         pass
# 
#     # TODO: use platform.freedesktop_os_release for Python >= 3.10
# 
#     return '', '', ''


import sys
import platform
import numpy as np
import qtpy
    import sip
    import PySide
    import PySide2
from qtpy import QtCore
from .compat import linux_distribution
        from qtpy import Qsci
all_versions = [
    ('GSDView', version, website),
    ('Python', '.'.join(
        map(str, sys.version_info[:3])), 'https://www.python.org'),
    ('Qt', QtCore.qVersion(), 'http://www.qt.io/'),
    ('numpy', np.version.version, 'http://www.numpy.org'),
]

if qtpy.API.startswith('pyqt'):
    all_versions.append(('sip', sip.SIP_VERSION_STR,
                         'http://www.riverbankcomputing.co.uk/software/sip'))
    all_versions.append(('PyQt', QtCore.PYQT_VERSION_STR,
                         'http://www.riverbankcomputing.co.uk/software/pyqt'))
    try:
    except ImportError:
        pass
    else:
        all_versions.append((
            'QScintilla', Qsci.QSCINTILLA_VERSION_STR,
            'http://www.riverbankcomputing.co.uk/software/qscintilla'))

elif qtpy.API == 'pyside':
    all_versions.append(
        ('PySide', PySide.__version__, 'http://www.pyside.org'))

elif qtpy.API == 'pyside2':
    all_versions.append(
        ('PySide2', PySide2.__version__, 'http://www.pyside.org'))

if linux_distribution() != ('', '', ''):

# Path: gsdview/compat.py
# def linux_distribution(full_distribution_name=True):
#     try:
#         # Python < 3.8
#         from platform import linux_distribution
#         return linux_distribution(
#             full_distribution_name=full_distribution_name)
#     except ImportError:
#         pass
# 
#     try:
#         from distro import linux_distribution
#         return linux_distribution(
#             full_distribution_name=full_distribution_name)
#     except ImportError:
#         pass
# 
#     # TODO: use platform.freedesktop_os_release for Python >= 3.10
# 
#     return '', '', ''


# Path: gsdview/info.py
import sys
import platform
import numpy as np
import qtpy
    import sip
    import PySide
    import PySide2
from qtpy import QtCore
from .compat import linux_distribution
        from qtpy import Qsci

all_versions = [
    ('GSDView', version, website),
    ('Python', '.'.join(
        map(str, sys.version_info[:3])), 'https://www.python.org'),
    ('Qt', QtCore.qVersion(), 'http://www.qt.io/'),
    ('numpy', np.version.version, 'http://www.numpy.org'),
]

if qtpy.API.startswith('pyqt'):
    all_versions.append(('sip', sip.SIP_VERSION_STR,
                         'http://www.riverbankcomputing.co.uk/software/sip'))
    all_versions.append(('PyQt', QtCore.PYQT_VERSION_STR,
                         'http://www.riverbankcomputing.co.uk/software/pyqt'))
    try:
    except ImportError:
        pass
    else:
        all_versions.append((
            'QScintilla', Qsci.QSCINTILLA_VERSION_STR,
            'http://www.riverbankcomputing.co.uk/software/qscintilla'))

elif qtpy.API == 'pyside':
    all_versions.append(
        ('PySide', PySide.__version__, 'http://www.pyside.org'))

elif qtpy.API == 'pyside2':
    all_versions.append(
        ('PySide2', PySide2.__version__, 'http://www.pyside.org'))

if linux_distribution() != ('', '', ''):

    all_versions.append(('GNU/Linux', ' '.join(linux_distribution()), ''))