From 99bf4cc57ad320a65b7da12c3088dda98de91e3c Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Sun, 23 Jan 2022 22:30:55 +0200 Subject: [PATCH] Changed file system --- build.bat | 5 ++++- build.bat.bak | 1 - build_clean.bat | 6 ++++++ horsy.spec | 40 ---------------------------------------- requirements.txt | 3 +-- 5 files changed, 11 insertions(+), 44 deletions(-) delete mode 100644 build.bat.bak create mode 100644 build_clean.bat delete mode 100644 horsy.spec diff --git a/build.bat b/build.bat index 0350cdf..dcfa030 100644 --- a/build.bat +++ b/build.bat @@ -1 +1,4 @@ -pyinstaller --noconfirm --icon "icon.ico" --console --onefile horsy.py \ No newline at end of file +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 diff --git a/build.bat.bak b/build.bat.bak deleted file mode 100644 index 83175ae..0000000 --- a/build.bat.bak +++ /dev/null @@ -1 +0,0 @@ -pyinstaller --nocinfirm --icon "icon.ico" --console --onefile horsy.py \ No newline at end of file diff --git a/build_clean.bat b/build_clean.bat new file mode 100644 index 0000000..a81c3bb --- /dev/null +++ b/build_clean.bat @@ -0,0 +1,6 @@ +pip install -r requirements.txt +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 diff --git a/horsy.spec b/horsy.spec deleted file mode 100644 index c1090af..0000000 --- a/horsy.spec +++ /dev/null @@ -1,40 +0,0 @@ -# -*- mode: python ; coding: utf-8 -*- - - -block_cipher = None - - -a = Analysis(['horsy.py'], - pathex=[], - binaries=[], - datas=[], - hiddenimports=[], - hookspath=[], - hooksconfig={}, - runtime_hooks=[], - excludes=[], - win_no_prefer_redirects=False, - win_private_assemblies=False, - cipher=block_cipher, - noarchive=False) -pyz = PYZ(a.pure, a.zipped_data, - cipher=block_cipher) - -exe = EXE(pyz, - a.scripts, - a.binaries, - a.zipfiles, - a.datas, - [], - name='horsy', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True, - upx_exclude=[], - runtime_tmpdir=None, - console=True, - disable_windowed_traceback=False, - target_arch=None, - codesign_identity=None, - entitlements_file=None , icon='icon.ico') diff --git a/requirements.txt b/requirements.txt index 8747cca..55095ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,4 @@ rich requests Cryptography Pyinstaller -tqdm -vt-py \ No newline at end of file +tqdm \ No newline at end of file