diff --git a/docs/rtd_pyqbdi_artifact/setup.py b/docs/rtd_pyqbdi_artifact/setup.py index 3448329a..ea138d9f 100644 --- a/docs/rtd_pyqbdi_artifact/setup.py +++ b/docs/rtd_pyqbdi_artifact/setup.py @@ -149,6 +149,10 @@ def install_wheel(wheelname, wheeldata): subprocess.check_call([sys.executable, "-m", "pip", "install", wheel_path]) +def check_installation(): + print(f'[+] test installation') + subprocess.check_call([sys.executable, "-c", "import pyqbdi; print(pyqbdi.__version__)"]) + def install_pyqbdi(): git_repo = Repository('.') current_branch = os.environ.get('READTHEDOCS_VERSION', git_repo.head.shorthand) @@ -179,9 +183,7 @@ def install_pyqbdi(): install_wheel(wheelname, wheeldata) - # check - import pyqbdi - + check_installation() if __name__ == "__main__": install_pyqbdi()