MCPcopy Create free account
hub / github.com/ekalinin/nodeenv / set_predeactivate_hook

Function set_predeactivate_hook

nodeenv.py:984–987  ·  view source on GitHub ↗
(env_dir)

Source from the content-addressed store, hash-verified

982
983
984def set_predeactivate_hook(env_dir):
985 if not is_WIN:
986 with open(join(env_dir, 'bin', 'predeactivate'), 'a') as hook:
987 hook.write(PREDEACTIVATE_SH)
988
989
990def create_environment(env_dir, args):

Callers 1

create_environmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…