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 |
SystemKey |
None |
VirtualenvManager | Constructor |
__cleanEnvironments | Private method to delete all non-existent local environments. |
__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. |
environmentForInterpreter | Public method to get the environment a given interpreter belongs to. |
getDefaultEnvironment | Public method to get the default virtual environment. |
getEnvironmentEntries | Public method to get a list of the defined virtual environment entries. |
getVirtualEnvironmentsBaseDir | Public method to set the base directory for the virtual environments. |
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. |
reloadSettings | Public slot to reload the virtual environments. |
removeVirtualEnvs | Public method to delete virtual environment from the list. |
renameVirtualEnv | Public method to substitute a virtual environment entry with a new name. |
searchUnregisteredInterpreters | Public method to search for unregistered Python interpreters. |
setVirtualEnv | Public method to change a virtual environment. |
setVirtualEnvInterpreter | Public method to change the interpreter for a virtual environment. |
setVirtualEnvironmentsBaseDir | Public method to set the base directory for the virtual environments. |
showVirtualenvManagerDialog | Public slot to show the virtual environment manager dialog. |
upgradeVirtualEnv | Public slot to upgrade a virtual environment. |
None |
Constructor
Private method to delete all non-existent local environments.
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 environment a given interpreter belongs to.
Public method to get the default virtual environment.
Default is an environment with the key '
Public method to get a list of the defined virtual environment entries.
Public method to set the base directory for the virtual environments.
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 slot to reload the virtual environments.
Public method to delete virtual environment from the list.
Public method to substitute a virtual environment entry with a new name.
Public method to search for unregistered Python interpreters.
Public method to change a virtual environment.
Public method to change the interpreter for a virtual environment.
Public method to set the base directory for the virtual environments.
Public slot to show the virtual environment manager dialog.
Public slot to upgrade a virtual environment.