invirtualenv.plugin module¶
Functions to enable packaging plugin functionality
-
invirtualenv.plugin.config()[source]¶ Get default configuration settings for all installed plugins
Returns: - str – Configparser format configuration as a string
- dict – Configuration types dictionary
-
invirtualenv.plugin.config_defaults()[source]¶ Get default configuration settings for all installed plugins
Returns: ConfigParser format configuration as a string Return type: str
-
invirtualenv.plugin.config_types()[source]¶ Get the default types for all configuration valuse based on installed plugins.
Returns: Dictionary with configuration values as keys and object classes as values Return type: dict
-
invirtualenv.plugin.config_update(configuration)[source]¶ Allow plugins to update the configuration after the values have been propagated.
This function updates the dictionary in place.
Parameters: configuration (dict) – The configuration dictionary
-
invirtualenv.plugin.create_package(package_type)[source]¶ Create a package of a specific package type
This functions iterates all the registered invirtualenv.create_package entry points and runs them passing the package_type argument to them.
These plugins should return None if they do not handle that package type.
Parameters: package_type (str) – The package type to create a package for
-
invirtualenv.plugin.create_package_configuration(package_type)[source]¶ Create a package of a specific package type
This functions iterates all the registered invirtualenv.create_package entry points and runs them passing the package_type argument to them.
These plugins should return None if they do not handle that package type.
Parameters: package_type (str) – The package type to create a package for