conductor.clarisse.clarisse_info module¶
-
class
conductor.clarisse.clarisse_info.
ClarisseInfo
¶ Bases:
conductor.lib.package_utils.ProductInfo
Retrieve information about the current clarisse session.
-
classmethod
get_build_version
()¶ Return the name of the software package, e.g. “Autodesk Maya 2015 SP4”
-
classmethod
get_major_version
()¶ e.g. 3.
-
classmethod
get_minor_version
()¶ e.g. 6.
-
classmethod
get_product
()¶ e.g. clarisse.
-
classmethod
get_release_version
()¶ e.g. SP1.
-
classmethod
get_vendor
()¶ isotropix makes Clarisse.
-
classmethod
get_version
()¶ e.g. 3.5.SP1.
-
classmethod
-
class
conductor.clarisse.clarisse_info.
ClarissePluginInfo
¶ Bases:
conductor.lib.package_utils.ProductInfo
A class for retrieving version information about a plugin in clarisse.
Should be subclassed. Will ultimately produce something like:
{'product': '<plugin name>', 'major_version': u'3', 'minor_version': u'00', 'release_version': u'01', 'build_version': '', 'plugin_host_product': 'clarisse', 'plugin_host_version': u'3.6'}
-
classmethod
exists
()¶ Return true if the plugin exists.
Note this should be False if the definition exists but the plugin is not being used.
-
classmethod
get_plugin_host_product
()¶ Return the name of the host software package.
Example: “Clarisse”.
-
classmethod
get_plugin_host_version
()¶ Return the version of the host software package.
Example: “Clarisse 16.5.323”.
-
classmethod
get_product
()¶ Subclass must return product name.
-
classmethod
get_regex
()¶ Derived class must provide a regex.
The regex should extract the product and version parts
-
classmethod
get_version
()¶ Return fully qualified name of the plugin.
Derived class must override.
-
plugin_name
= None¶
-
classmethod