OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, cleanup=True) |
def | __enter__ (self) |
def | pip_install (self, reqs) |
def | __exit__ (self, exc_type, exc_val, exc_tb) |
Data Fields | |
save_path | |
save_pythonpath | |
Static Public Attributes | |
path | |
Context manager to install build deps in a simple temporary environment Based on code I wrote for pip, which is MIT licensed.
def __init__ | ( | self, | |
cleanup = True |
|||
) |
def __enter__ | ( | self | ) |
def __exit__ | ( | self, | |
exc_type, | |||
exc_val, | |||
exc_tb | |||
) |
def pip_install | ( | self, | |
reqs | |||
) |
Install dependencies into this env by calling pip in a subprocess
|
static |
save_path |
save_pythonpath |