photogrammetry_importer.preferences.dependency
Module Contents
- photogrammetry_importer.preferences.dependency.get_additional_command_line_sys_path()
Function that retrieves additional sys.path of the command line
- photogrammetry_importer.preferences.dependency.add_command_line_sys_path()
Function that adds sys.path of the command line to Blender’s sys.path
- photogrammetry_importer.preferences.dependency.remove_command_line_sys_path()
Function that removes additional paths in Blender’s sys.path
- photogrammetry_importer.preferences.dependency.add_command_line_sys_path_if_necessary(dummy)
Function that extends Blender’s sys.path if necessary
- class photogrammetry_importer.preferences.dependency.DependencyStatus(gui_name, package_name, import_name)
Class that describes the installation status of a Python dependency.
- get_package_info()
- class photogrammetry_importer.preferences.dependency.PipManager
Class that manages the pip installation.
- classmethod get_singleton()
Return a singleton of this class.
- install_pip(lazy, op=None)
Install pip.
- get_package_info()
Return the pip installation status.
- class photogrammetry_importer.preferences.dependency.OptionalDependency(gui_name, package_name, import_name)
Bases:
DependencyStatusClass that describes an optional Python dependency of the addon.
- install(op=None)
Install this dependency.
- uninstall(remove_sys_path=True, op=None)
Uninstall this dependency.
- class photogrammetry_importer.preferences.dependency.OptionalDependencyManager
Class that manages the (optional) dependencies of this addon.
- classmethod get_singleton()
Return a singleton of this class.
- install_dependencies(dependency_package_name='', op=None)
Install all (optional) dependencies of this addon.
- uninstall_dependencies(dependency_package_name='', op=None)
Uninstall all (optional) dependencies of this addon.
- get_dependencies()
Return all (optional) dependencies of this addon.
- class photogrammetry_importer.preferences.dependency.InstallOptionalDependenciesOperator
Bases:
bpy.types.OperatorOperator to install all (optional) dependencies of this addon.
- bl_idname = photogrammetry_importer.install_dependencies
- bl_label = Download and Install ALL Optional Dependencies (be patient!)
- bl_description = Download and install the optional dependencies (Python packages). Depending on the installation...
- bl_options
- dependency_package_name :StringProperty(name='Dependency Package Name', description='Target dependency package to be installed.', default='')
- execute(context)
Install all optional dependencies.
- class photogrammetry_importer.preferences.dependency.UninstallOptionalDependenciesOperator
Bases:
bpy.types.OperatorOperator to uninstall all (optional) dependencies of this addon.
- bl_idname = photogrammetry_importer.uninstall_dependencies
- bl_label = Remove ALL Optional Dependencies
- bl_description = Uninstall optional dependencies. Blender may have to be started with administrator privileges in...
- bl_options
- dependency_package_name :StringProperty(name='Dependency Package Name', description='Target dependency package to be removed.', default='')
- execute(context)
Uninstall all optional dependencies.