Keep or Sweep
Randomly declutter your computer!
This is the desktop app (v0.1.0) for ⊞Windows,
There’s also a
Contributions are always welcome!
- Install the dependencies: We need Pillow (Python library for image handling) and Send2Trash (to move files to trash cross-platform instead of permanently removing them). Type these commands in a terminal window:
sudo easy_install pip pip3 install -r requirements.txt
keeporsweep.pyexecutable by right-click → Properties → Allow executing file as program. (Or in the terminal with
chmod +x keeporsweep.py)
- Then place
keeporsweep.pyin any folder and click it!
🎉(Or in the terminal run
Building an executable app
- Install PyInstaller via terminal:
pip3 install pyinstaller
- Then use this command to build the application for your operating system (use icon.icns instead of icon.ico when building on macOS):
pyinstaller --name="Keep or Sweep" --onefile --noconsole --icon="images/icon.ico" --clean keeporsweep.py
- The executable file will be in the
In case the icon was changed, we need to generate those again. Windows .ico uses the 256px icon and can be saved using GIMP, macOS .icns uses icons ranging from 16px to 1024px and can be generated using png2icns.