installer.*

Provides

class installer.DependenciesDialog(parent=None)[source]

Bases: QDialog

Dependencies dialog for python dependencies

Parameters:

parent (QWidget) – Parent widget

column = {'button': 0, 'description': 5, 'name': 2, 'required_version': 4, 'status': 1, 'version': 3}
column_headers = ('', 'Status', 'Package', 'Version', 'Required', 'Description')
on_butt_install(butt)[source]

One of install buttons pressed

Parameters:

butt (QPushButton) – The pressed button

sizeHint()[source]

Overloaded method

Return type:

QSize

update_load()[source]
class installer.InstallPackageDialog(parent=None, module=None)[source]

Bases: QDialog

Shows a dialog to execute command

Parameters:
  • parent – Parent widget

  • module – Module to be installed

line_str = '--------------------------------------------------------'
on_butt_execute()[source]

Execute button event handler

on_finished()[source]

Execution finished event handler

on_read_error()[source]

Stderr read event handler

on_read_standard()[source]

Stdout read event handler

update_cmd_line(*unused)[source]

Update the commend line considering sudo button state

class installer.Module(name, description, required_version)[source]

Bases: object

Module checker

description: str
is_installed()[source]

True if the module is installed

Return type:

bool

name: str
required_version: str
property version: <module 'packaging.version' from '/usr/lib/python3/dist-packages/packaging/version.py'>

Currently installed version number, False if not installed