diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c8f355..9bd8c94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log +## v0.7.1 (2023-10-29) + +* Updated `.bat` file for generating Windows GUI executable to account for + `pyproject.toml` and recent Python versions. + + + ## v0.7.0 (2023-10-28) * Switched packaging to `pyproject.toml`. diff --git a/make_gui_exe/make_tk_exe.bat b/make_gui_exe/make_tk_exe.bat index f568b71..1ff7abe 100644 --- a/make_gui_exe/make_tk_exe.bat +++ b/make_gui_exe/make_tk_exe.bat @@ -16,19 +16,19 @@ call conda activate make_text2qti_gui_exe REM List conda envs -- useful for debugging call conda info --envs REM Install dependencies -pip install bespon -pip install markdown -pip install pyinstaller -if exist ..\setup.py ( - if exist ..\text2qti ( - cd .. - pip install . - cd make_gui_exe +python -m pip install bespon +python -m pip install markdown +python -m pip install pyinstaller +if exist "..\pyproject.toml" ( + if exist "..\text2qti\" ( + cd ..\.. + python -m pip install .\text2qti + cd text2qti\make_gui_exe ) else ( - pip install text2qti + python -m pip install text2qti ) ) else ( - pip install text2qti + python -m pip install text2qti ) REM Build .exe FOR /F "tokens=* USEBACKQ" %%g IN (`python -c "import text2qti; print(text2qti.__version__)"`) do (SET "TEXT2QTI_VERSION=%%g") @@ -40,7 +40,7 @@ REM List conda envs -- useful for debugging call conda info --envs REM Cleanup move dist\text2qti_tk_%TEXT2QTI_VERSION%.exe text2qti_tk_%TEXT2QTI_VERSION%.exe -if exist "__pycache__" ( +if exist "__pycache__\" ( rd /s /q "__pycache__" ) rd /s /q "build" diff --git a/text2qti/version.py b/text2qti/version.py index 09e6ffa..3eac815 100644 --- a/text2qti/version.py +++ b/text2qti/version.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- from .fmtversion import get_version_plus_info -__version__, __version_info__ = get_version_plus_info(0, 7, 0, 'final', 0) +__version__, __version_info__ = get_version_plus_info(0, 7, 1, 'final', 0)