Skip to content

Commit

Permalink
Fix documentation compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
nsurbay committed Jan 24, 2023
1 parent 87c17b0 commit 5e874fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/rtd_pyqbdi_artifact/setup.py
Expand Up @@ -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)
Expand Down Expand Up @@ -179,9 +183,7 @@ def install_pyqbdi():

install_wheel(wheelname, wheeldata)

# check
import pyqbdi

check_installation()

if __name__ == "__main__":
install_pyqbdi()
Expand Down

0 comments on commit 5e874fd

Please sign in to comment.