reset config
add single preset, apply to notes directly, then close run from browser/menu run from editor
add random preset, run from browser/menu run from editor
coverage run -m pytest
coverage html
coverage erase
- install Python 3.11 for windows
- install ffmpeg
- create python virtual env
- create virtualenv
cd c:\dev\python-env
python -m venv anki-hyper-tts
C:\dev\python-env\anki-hyper-tts\Scripts\activate
cd C:\dev\python\anki-hyper-tts
c:\dev\python-env\anki-hyper-tts\Scripts\python.exe -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements.windows.txt
- install requirements.txt and requirements.windows.txt
- directory junction for anki addon:
mklink /j C:\Users\Luc\AppData\Roaming\Anki2\addons21\anki-hyper-tts C:\dev\python\anki-hyper-tts
C:\dev\python-env\anki-hyper-tts\Scripts\activate
set PATH=C:\Users\Luc\AppData\Local\Programs\Anki;C:\Program Files\ffmpeg;%PATH%
created this way
cat ~/secrets/cloudlanguagetools/post_deploy_tts_prod.sh | sed 's/export/set/g'
cat ~/secrets/hypertts/hypertts_services_keys.sh
execute ~/secrets/hypertts/hypertts_windows.bat
cd C:\dev\python\anki-hyper-tts
pytest test_tts_services.py -k test_windows