diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 768d13b..6c7e3c2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -16,7 +16,8 @@ build: jobs: post_install: - pip install uv - - uv pip install --system pyproject.toml + - uv pip install --all-extras -r pyproject.toml + - python -c "import teamtalk" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/teamtalk/tools/ttsdk_downloader.py b/teamtalk/tools/ttsdk_downloader.py index 503b0c4..aa712ce 100644 --- a/teamtalk/tools/ttsdk_downloader.py +++ b/teamtalk/tools/ttsdk_downloader.py @@ -121,7 +121,15 @@ def install() -> None: sys.exit(1) print("Extracted. moving") move() + # check if the move was successful + if not os.path.exists(os.path.join(cd, "implementation", "TeamTalk_DLL")): + print("Failed to move TeamTalk_DLL") + sys.exit(1) + if not os.path.exists(os.path.join(cd, "implementation", "TeamTalkPy")): + print("Failed to move TeamTalkPy") + sys.exit(1) print("moved. cleaning") clean() print("cleaned.") print("Installed") + sys.exit(0)