commit 575d6d36d7a1f2eff4ddfabfd7184e67495dd6ae parent 47810b7bd8f0039772d6bbb81de4e270c0ef9022 Author: gearsix <gearsix@tuta.io> Date: Fri, 4 Nov 2022 12:41:54 +0000 added requirements.txt; sya-pyqt also removes any output on abort. Diffstat:
A | requirements.txt | | | 41 | +++++++++++++++++++++++++++++++++++++++++ |
M | sya-pyqt.py | | | 3 | ++- |
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt @@ -0,0 +1,41 @@ +altgraph==0.17.3 +Brotli==1.0.9 +build==0.9.0 +certifi==2022.9.24 +dbus-python==1.2.18 +distlib==0.3.6 +filelock==3.8.0 +meson==0.60.3 +MouseInfo==0.1.3 +mugshot==0.4.3 +mutagen==1.46.0 +packaging==21.3 +pep517==0.13.0 +pexpect==4.8.0 +platformdirs==2.5.2 +psutil==5.9.3 +ptyprocess==0.7.0 +PyAutoGUI==0.9.53 +pycairo==1.20.1 +pycryptodomex==3.15.0 +PyGetWindow==0.0.9 +PyGObject==3.42.2 +pyinstaller==5.6.2 +pyinstaller-hooks-contrib==2022.11 +PyMsgBox==1.0.9 +pyparsing==3.0.9 +pyperclip==1.8.2 +PyQt5==5.15.7 +PyQt5-Qt5==5.15.2 +PyQt5-sip==12.11.0 +PyRect==0.2.0 +PyScreeze==0.1.28 +python3-xlib==0.15 +pytweening==1.0.4 +tomli==2.0.1 +trash-cli==0.22.8.27 +ufw==0.36.1 +virtualenv==20.16.6 +virtualenv-clone==0.5.7 +websockets==10.4 +yt-dlp==2022.10.4 diff --git a/sya-pyqt.py b/sya-pyqt.py @@ -4,6 +4,7 @@ import os import sys import subprocess +import shutil # sya import sya # pip @@ -225,7 +226,7 @@ class SyaGui(qtwidg.QMainWindow): def _cancel(self): self.main_t.exit() self.check_t.exit() - os.removedirs(self.args.output) + shutil.rmtree(self.args.output) del(self._logs) if __name__ == '__main__':