Skip to content

Commit

Permalink
Refactor hooks (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashenning committed Aug 16, 2024
1 parent af873ba commit 6065407
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

[options.entry_points]
pyinstaller40 =
hook-dirs = pyqttoast.__pyinstaller:get_hook_dirs
hook-dirs = pyqttoast.hooks:get_hook_dirs
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package_data={
'pyqttoast.css': ['*.css'],
'pyqttoast.icons': ['*.png'],
'pyqttoast.__pyinstaller': ['*.py']
'pyqttoast.hooks': ['*.py']
},
install_requires=[
'QtPy>=2.4.1'
Expand Down
3 changes: 0 additions & 3 deletions src/pyqttoast/__pyinstaller/hook-pyqttoast.py

This file was deleted.

File renamed without changes.
3 changes: 3 additions & 0 deletions src/pyqttoast/hooks/hook-pyqttoast.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import collect_data_files

datas = collect_data_files('pyqttoast', excludes=['hooks'])

0 comments on commit 6065407

Please sign in to comment.