Skip to content

Commit

Permalink
Create hook-tkinterdnd2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jessielw committed Jul 20, 2022
1 parent 52a9665 commit 44f248f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Packages/hook-tkinterdnd2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""pyinstaller hook file.
You need to use this hook-file if you are packaging a project using tkinterdnd2.
Just put hook-tkinterdnd2.py in the same directory where you call pyinstaller and type:
pyinstaller myproject/myproject.py --additional-hooks-dir=.
"""

from PyInstaller.utils.hooks import collect_data_files, eval_statement


datas = collect_data_files('tkinterdnd2')

0 comments on commit 44f248f

Please sign in to comment.