module documentation

Undocumented

Function generate_environment_script Generate script code to cache environment changes of a script.
Function _append_comment Undocumented
Function _append_header Undocumented
Function _is_not_windows Undocumented
Function _set_variable Undocumented
def generate_environment_script(env_script):

Generate script code to cache environment changes of a script.

This code assumes that the script does nothing else than changing variables that contain colon separated lists of PATHs, by replacing or prepending.

Parameters
env_scriptstr The path to the script which changes the environment
Returns
list script lines
def _append_comment(code, value):

Undocumented

def _append_header(code):

Undocumented

def _is_not_windows():

Undocumented

def _set_variable(code, key, value):

Undocumented