tkinterdnd2 icon indicating copy to clipboard operation
tkinterdnd2 copied to clipboard

Exclude unused platform-specific tkdnd files in pyinstaller hook

Open TransparentLC opened this issue 3 years ago • 1 comments

The tkdnd folder contains pre-compiled files for Windows, Linux and macOS. But TkinterDnD.py only loads one of them according to current platform. I modified the pyinstaller hook to exclude the unused platform-specific tkdnd files so the bundled app's size can be slightly reduced.

TransparentLC avatar Apr 24 '22 09:04 TransparentLC

Afaik this can be done for the setup.cfg also (PyPi build)

demberto avatar May 02 '22 13:05 demberto

Sorry for the long period since your submission of this PR. Thanks for the improvement suggestion. I have reviewed this and determined that it works as expected.

Squiblydoo avatar Jul 30 '24 23:07 Squiblydoo