-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import os | ||
|
||
|
||
# Tell PyInstaller where to find hooks provided by this distribution; | ||
# this is referenced by the :ref:`hook registration <hook_registration>`. | ||
# This function returns a list containing only the path to this | ||
# directory, which is the location of these hooks. | ||
# # https://pyinstaller.readthedocs.io/en/stable/hooks.html | ||
|
||
def get_hook_dirs(): | ||
return [os.path.dirname(__file__)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This is a PyInstaller hook for pywebio. | ||
# https://pyinstaller.readthedocs.io/en/stable/hooks.html | ||
|
||
from PyInstaller.utils.hooks import collect_data_files | ||
|
||
datas = collect_data_files('pywebio') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters