Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a hook for ffpyplayer #348

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Conversation

eric15342335
Copy link
Contributor

@eric15342335 eric15342335 commented Nov 10, 2021

@eric15342335 eric15342335 requested review from a team and Legorooj and removed request for a team November 10, 2021 10:15
@eric15342335
Copy link
Contributor Author

ok i'll add new line

Copy link
Member

@Legorooj Legorooj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, though you may want to change the commit message haha.

@eric15342335
Copy link
Contributor Author

Looks good, though you may want to change the commit message haha.

sorry for that

hiddenimports = collect_submodules("ffpyplayer")
binaries = []
# ffpyplayer has an internal variable tells us where the libraries it was using
for bin in eval_statement("import ffpyplayer; print(ffpyplayer.dep_bins)"):
Copy link
Member

@rokm rokm Nov 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think long-term it would make sense to use get_module_attribute here. At the moment, though, PyInstaller 4.x version of that function returns string-ified value, while 5.x returns native-type version (presumably a list), so explicitly handling both might not be worth the hassle.

Copy link
Member

@bwoodsend bwoodsend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I see you've done CI.

@bwoodsend bwoodsend merged commit 1cbfd2c into pyinstaller:master Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants