python.tk_houdini.bootstrap

Module Contents

Functions

_build_houdini_path(startup_paths)

Given some paths, construct an updated houdini path.

_get_env(startup_paths)

This method represents the common behavior for preparing an environment for

bootstrap(tank, context)

Interface for older versions of tk-multi-launchapp.

bootstrap_classic()

This method initiates the classic toolkit bootstrap.

bootstrap_exception(error_msg)

Shows an error message if there is a problem during bootstrap.

get_classic_startup_env()

Returns a dict of key/value pairs representing the environment variables

get_plugin_startup_env(plugin_names)

Returns a dict of key/value pairs representing the environment variables

g_sgtk_context_env = TANK_CONTEXT[source]
g_sgtk_engine_env = TANK_ENGINE[source]
g_temp_env = TK_HOUDINI_TMP[source]
_build_houdini_path(startup_paths)[source]

Given some paths, construct an updated houdini path.

This method preserves the existing HOUDINI_PATH and prepends the supplied startup paths. It also appends the special & default path if it is not already included.

_get_env(startup_paths)[source]

This method represents the common behavior for preparing an environment for houdini launch. It populates and returns a dictionary with all the necessary keys for starting the engine. The supplied startup paths will differ based on the startup mode (classic or plugin).

bootstrap(tank, context)[source]

Interface for older versions of tk-multi-launchapp.

This is deprecated and now replaced with the startup.py file and SoftwareLauncher interface.

Prepares the environment for a tk-houdini bootstrap. This method is called directly from the tk-multi-launchapp.

bootstrap_classic()[source]

This method initiates the classic toolkit bootstrap.

This is accomplished by extracting engine and context information from the environment and then calling sgtk.platform.start_engine().

bootstrap_exception(error_msg)[source]

Shows an error message if there is a problem during bootstrap.

get_classic_startup_env()[source]

Returns a dict of key/value pairs representing the environment variables needed to launch houdini and startup toolkit in classic mode.

get_plugin_startup_env(plugin_names)[source]

Returns a dict of key/value pairs representing the environment variables needed to launch houdini with the supplied plugins.