-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
123 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,3 +138,5 @@ nohup.out | |
*.nohup.out | ||
/.vscode/ | ||
paper&slides/~$机器学习的经济困难生精准资助研究-大作业论文.docx | ||
demo/build | ||
demo/dist |
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,10 @@ | ||
from PyInstaller.utils.hooks import collect_all | ||
|
||
|
||
def hook(hook_api): | ||
packages = ['sklearn', 'numpy', 'scipy', 'pandas'] | ||
for package in packages: | ||
datas, binaries, hiddenimports = collect_all(package) | ||
# hook_api.add_datas(datas) # 注释掉是因为通常用不到 | ||
# hook_api.add_binaries(binaries) | ||
hook_api.add_imports(*hiddenimports) |