MCPcopy Create free account
hub / github.com/comaps/comaps / chdir

Function chdir

libs/pyhelpers/setup.py:142–148  ·  view source on GitHub ↗
(target_dir)

Source from the content-addressed store, hash-verified

140
141@contextmanager
142def chdir(target_dir):
143 saved_cwd = os.getcwd()
144 os.chdir(target_dir)
145 try:
146 yield
147 finally:
148 os.chdir(saved_cwd)
149
150
151class BuildCommand(build, object):

Callers 15

setup.pyFile · 0.90
setup.pyFile · 0.90
setup.pyFile · 0.90
setupFunction · 0.90
setup.pyFile · 0.90
setup.pyFile · 0.90
setup.pyFile · 0.90
runMethod · 0.85
configure_omimMethod · 0.85
cleanMethod · 0.85
buildMethod · 0.85
cmake_pybindingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected