From 4b58ed7fffd6d1f9d27d43abc60e0e29d7a80deb Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Thu, 5 May 2022 19:16:51 +0300 Subject: [PATCH] venv-friendly --- .gitignore | 3 ++- build_bats/build-gui.bat | 3 ++- build_bats/build-gui_clean.bat | 3 ++- build_bats/build-installer-silent.bat | 3 ++- build_bats/build-installer-silent_clean.bat | 3 ++- build_bats/build-installer.bat | 3 ++- build_bats/build-installer_clean.bat | 3 ++- build_bats/build-updater.bat | 3 ++- build_bats/build-updater_clean.bat | 3 ++- build_bats/build.bat | 3 ++- build_bats/build_clean.bat | 3 ++- 11 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index eb50197..3efd9af 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ config.cfg /.idea/ /dist/ -config.cfg \ No newline at end of file +/build-env/ +activate.bat diff --git a/build_bats/build-gui.bat b/build_bats/build-gui.bat index 7be6658..8a89c9b 100644 --- a/build_bats/build-gui.bat +++ b/build_bats/build-gui.bat @@ -2,4 +2,5 @@ cd .. pip install -r requirements.txt pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsygui.py" rmdir /s /q __pycache__ -del horsygui.spec \ No newline at end of file +del horsygui.spec +cd build_bats \ No newline at end of file diff --git a/build_bats/build-gui_clean.bat b/build_bats/build-gui_clean.bat index 124fde6..32f1221 100644 --- a/build_bats/build-gui_clean.bat +++ b/build_bats/build-gui_clean.bat @@ -4,4 +4,5 @@ rmdir /s /q build pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsygui.py" rmdir /s /q __pycache__ del horsygui.spec -rmdir /s /q build \ No newline at end of file +rmdir /s /q build +cd build_bats \ No newline at end of file diff --git a/build_bats/build-installer-silent.bat b/build_bats/build-installer-silent.bat index 1e7e51a..2e4a8b4 100644 --- a/build_bats/build-installer-silent.bat +++ b/build_bats/build-installer-silent.bat @@ -2,4 +2,5 @@ cd .. pip install -r requirements.txt pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsy_installer_silent.py" rmdir /s /q __pycache__ -del horsy_installer_silent.spec \ No newline at end of file +del horsy_installer_silent.spec +cd build_bats \ No newline at end of file diff --git a/build_bats/build-installer-silent_clean.bat b/build_bats/build-installer-silent_clean.bat index 24adc2d..af24c4d 100644 --- a/build_bats/build-installer-silent_clean.bat +++ b/build_bats/build-installer-silent_clean.bat @@ -4,4 +4,5 @@ rmdir /s /q build pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsy_installer_silent.py" rmdir /s /q __pycache__ del horsy_installer_silent.spec -rmdir /s /q build \ No newline at end of file +rmdir /s /q build +cd build_bats \ No newline at end of file diff --git a/build_bats/build-installer.bat b/build_bats/build-installer.bat index 5a8e93a..64907ac 100644 --- a/build_bats/build-installer.bat +++ b/build_bats/build-installer.bat @@ -2,4 +2,5 @@ cd .. pip install -r requirements.txt pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsy_installer.py" rmdir /s /q __pycache__ -del horsy_installer.spec \ No newline at end of file +del horsy_installer.spec +cd build_bats \ No newline at end of file diff --git a/build_bats/build-installer_clean.bat b/build_bats/build-installer_clean.bat index 947f528..956e49c 100644 --- a/build_bats/build-installer_clean.bat +++ b/build_bats/build-installer_clean.bat @@ -4,4 +4,5 @@ rmdir /s /q build pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsy_installer.py" rmdir /s /q __pycache__ del horsy_installer.spec -rmdir /s /q build \ No newline at end of file +rmdir /s /q build +cd build_bats \ No newline at end of file diff --git a/build_bats/build-updater.bat b/build_bats/build-updater.bat index 239055c..bf306ac 100644 --- a/build_bats/build-updater.bat +++ b/build_bats/build-updater.bat @@ -2,4 +2,5 @@ cd .. pip install -r requirements.txt pyinstaller --noconfirm --icon "img/icon.ico" --onefile --console "horsy_updater.py" rmdir /s /q __pycache__ -del horsy_updater.spec \ No newline at end of file +del horsy_updater.spec +cd build_bats \ No newline at end of file diff --git a/build_bats/build-updater_clean.bat b/build_bats/build-updater_clean.bat index d8c2ea8..c6f2c6c 100644 --- a/build_bats/build-updater_clean.bat +++ b/build_bats/build-updater_clean.bat @@ -4,4 +4,5 @@ rmdir /s /q build pyinstaller --noconfirm --icon "img/icon.ico" --onefile --console "horsy_updater.py" rmdir /s /q __pycache__ del horsy_updater.spec -rmdir /s /q build \ No newline at end of file +rmdir /s /q build +cd build_bats \ No newline at end of file diff --git a/build_bats/build.bat b/build_bats/build.bat index 70a79f5..df03b8b 100644 --- a/build_bats/build.bat +++ b/build_bats/build.bat @@ -2,4 +2,5 @@ cd .. pip install -r requirements.txt pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsy.py" rmdir /s /q __pycache__ -del horsy.spec \ No newline at end of file +del horsy.spec +cd build_bats \ No newline at end of file diff --git a/build_bats/build_clean.bat b/build_bats/build_clean.bat index 9a47ca5..5ed5555 100644 --- a/build_bats/build_clean.bat +++ b/build_bats/build_clean.bat @@ -4,4 +4,5 @@ rmdir /s /q build pyinstaller --noconfirm --icon "img/icon.ico" --console --onefile "horsy.py" rmdir /s /q __pycache__ del horsy.spec -rmdir /s /q build \ No newline at end of file +rmdir /s /q build +cd build_bats \ No newline at end of file