Module implementing a class to manage Python virtual environments.
None |
VirtualenvManager | Class implementing an object to manage Python virtual environments. |
None |
Class implementing an object to manage Python virtual environments.
DefaultKey |
None |
VirtualenvManager | Constructor |
__isEnvironmentDeleteable | Private method to check, if a virtual environment can be deleted from disk. |
__loadSettings | Private slot to load the virtual environments. |
__saveSettings | Private slot to save the virtual environments. |
addVirtualEnv | Public method to add a virtual environment. |
createVirtualEnv | Public slot to create a new virtual environment. |
deleteVirtualEnvs | Public method to delete virtual environments from the list and disk. |
getDefaultEnvironment | Public method to get the default virtual environment. |
getEnvironmentEntries | Public method to get a dictionary containing the defined virtual environment entries. |
getVirtualenvDirectory | Public method to get the directory of a virtual environment. |
getVirtualenvExecPath | Public method to get the search path prefix of a virtual environment. |
getVirtualenvInterpreter | Public method to get the interpreter for a virtual environment. |
getVirtualenvNames | Public method to get a list of defined virtual environments. |
isCondaEnvironment | Public method to test, if a given environment is an Anaconda environment. |
isGlobalEnvironment | Public method to test, if a given environment is a global one. |
isRemoteEnvironment | Public method to test, if a given environment is a remotely accessed environment. |
isUnique | Public method to check, if the give logical name is unique. |
removeVirtualEnvs | Public method to delete virtual environment from the list. |
renameVirtualEnv | Public method to substitute a virtual environment entry with a new name. |
setVirtualEnv | Public method to change a virtual environment. |
showVirtualenvManagerDialog | Public slot to show the virtual environment manager dialog. |
shutdown | Public method to shutdown the manager. |
None |
Constructor
Private method to check, if a virtual environment can be deleted from disk.
Private slot to load the virtual environments.
Private slot to save the virtual environments.
Public method to add a virtual environment.
Public slot to create a new virtual environment.
Public method to delete virtual environments from the list and disk.
Public method to get the default virtual environment.
Default is an environment with the key '
Public method to get a dictionary containing the defined virtual environment entries.
Public method to get the directory of a virtual environment.
Public method to get the search path prefix of a virtual environment.
Public method to get the interpreter for a virtual environment.
Public method to get a list of defined virtual environments.
Public method to test, if a given environment is an Anaconda environment.
Public method to test, if a given environment is a global one.
Public method to test, if a given environment is a remotely accessed environment.
Public method to check, if the give logical name is unique.
Public method to delete virtual environment from the list.
Public method to substitute a virtual environment entry with a new name.
Public method to change a virtual environment.
Public slot to show the virtual environment manager dialog.
Public method to shutdown the manager.