Skip to content

How to exclude DLLs in subdirectories? #1051

Closed Answered by luziferius
luziferius asked this question in Q&A
Discussion options

You must be logged in to vote

I totally forgot to report back, sorry.

The root cause here was that PyQt5 includes the Qt5 distribution in the site-packages under PyQt5/Qt5, which in turn contains many files I don’t want to package, like plugins and unused DLLs.

I’m using the suggested 'skip_build': True option and a manual cleanup script that simply deletes all unwanted files from the distribution before packaging.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@luziferius
Comment options

@marcelotduarte
Comment options

@luziferius
Comment options

@luziferius
Comment options

@marcelotduarte
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@marcelotduarte
Comment options

Answer selected by luziferius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants