Keep or Sweep
Randomly declutter your computer!
Install
This is the desktop app (v0.1.0) for βWindows,
Thereβs also a
Contribute
Contributions are always welcome!
Development setup
- 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
- Make
keeporsweep.py
executable by right-click β Properties β Allow executing file as program. (Or in the terminal withchmod +x keeporsweep.py
) - Then place
keeporsweep.py
in any folder and click it!π (Or in the terminal runpython3 keeporsweep.py
)
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
dist
subfolder.
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.