eric6.Plugins.PluginPipInterface

Module implementing the pip interface plug-in.

Global Attributes

author
autoactivate
className
deactivateable
error
longDescription
name
needsRestart
packageName
pipPluginObject
pyqtApi
python2Compatible
shortDescription
version

Classes

PipInterfacePlugin Class implementing the pip interface plug-in.

Functions

_findDefaultExecutables Restricted function to determine the name and path of the executables.
createPipPage Module function to create the pip configuration page.
exeDisplayDataList Module function to support the display of some executable info.
getConfigData Module function returning data as required by the configuration dialog.
getExePath
prepareUninstall Module function to prepare for an un-installation.


PipInterfacePlugin

Class implementing the pip interface plug-in.

Signals

currentPipChanged(exe)
emitted to signal a change of the current pip executable

Derived from

QObject

Class Attributes

PreferencesKey

Class Methods

None

Methods

PipInterfacePlugin Constructor
__initialize Private slot to (re)initialize the plugin.
activate Public method to activate this plugin.
deactivate Public method to deactivate this plugin.
getDefaultPipExecutables Public method to get the default list of pip executables.
getMenu Public method to get a reference to the requested menu.
getMenuNames Public method to get the names of all menus.
getPreferences Public method to retrieve the various refactoring settings.
setPreferences Public method to store the various refactoring settings.

Static Methods

None

PipInterfacePlugin (Constructor)

PipInterfacePlugin(ui)

Constructor

ui
reference to the user interface object (UI.UserInterface)

PipInterfacePlugin.__initialize

__initialize()

Private slot to (re)initialize the plugin.

PipInterfacePlugin.activate

activate()

Public method to activate this plugin.

Returns:
tuple of None and activation status (boolean)

PipInterfacePlugin.deactivate

deactivate()

Public method to deactivate this plugin.

PipInterfacePlugin.getDefaultPipExecutables

getDefaultPipExecutables()

Public method to get the default list of pip executables.

Returns:
list of pip executables (list of string)

PipInterfacePlugin.getMenu

getMenu(name)

Public method to get a reference to the requested menu.

name
name of the menu (string)
Returns:
reference to the menu (QMenu) or None, if no menu with the given name exists

PipInterfacePlugin.getMenuNames

getMenuNames()

Public method to get the names of all menus.

Returns:
menu names (list of string)

PipInterfacePlugin.getPreferences

getPreferences(key)

Public method to retrieve the various refactoring settings.

key
the key of the value to get
Returns:
the requested refactoring setting

PipInterfacePlugin.setPreferences

setPreferences(key, value)

Public method to store the various refactoring settings.

key
the key of the setting to be set (string)
value
the value to be set
Up


_findDefaultExecutables

_findDefaultExecutables(majorVersion)

Restricted function to determine the name and path of the executables.

majorVersion
major python version of the executables (int)
Returns:
path names of the executables (list of string)
Up


createPipPage

createPipPage(configDlg)

Module function to create the pip configuration page.

configDlg
reference to the configuration dialog
Returns:
reference to the configuration page
Up


exeDisplayDataList

exeDisplayDataList()

Module function to support the display of some executable info.

Returns:
list of dictionaries containing the data to query the presence of the executable
Up


getConfigData

getConfigData()

Module function returning data as required by the configuration dialog.

Returns:
dictionary containing the relevant data
Up


getExePath

getExePath(branch, access, versionStr)
Up


prepareUninstall

prepareUninstall()

Module function to prepare for an un-installation.

Up