If you want to use the simple little sloppycopy function than copy the sloppycopy.py file to your project and import it. After that just call it by doing sloppycopy.Copy("source_dir", "target_dir")
.
If you want more help with it than check the interface.py file for how I use it.
This should work with Windows, MacOs, or any Linux distro that has Python support. I wrote this on windows and have also tested it on MacOS and everything seemed to work just fine. If you have any problems with it please create an issue!
For building to a standalone app I use nuitka. Here are my build configs for each platform:
NOTE: I have almost no experience with nuitka and I'm basically shit at this.
- Windows
nuitka --standalone --onefile --plugin-enable=pyside6 --windows-console-mode=disable --include-data-dir=Resources=Resources interface.py
- Macos
nuitka --standalone --plugin-enable=pyside6 --macos-create-app-bundle --include-data-dir=Resources=Resources --macos-app-icon=./Resources/Icon.icns interface.py
- Build for MacOS AMD64, Windows ARM64, and Linux.
- Add an automator that can be scheduled to automatically copy.
Wanna support? Fix my crappy code. lol. That's about it <3