Skip to content

Commit

Permalink
Updated rtd config
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaTegner committed Nov 23, 2024
1 parent 55a66f6 commit 1afc0da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions teamtalk/tools/ttsdk_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 1afc0da

Please sign in to comment.