Method: Autoproj::Python.deactivate_python

Defined in:
lib/autoproj/python.rb

.deactivate_python(ws: Autoproj.workspace) ⇒ Object



232
233
234
235
236
237
# File 'lib/autoproj/python.rb', line 232

def self.deactivate_python(ws: Autoproj.workspace)
    remove_python_shims(ws.dot_autoproj_dir)
    remove_pip_shims(ws.dot_autoproj_dir)
    ws.config.reset("python_executable")
    ws.config.reset("python_version")
end