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

packaging: decrease the size by about 100MB (on macOS) #819

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

cosven
Copy link
Member

@cosven cosven commented Apr 6, 2024

add the following lines in makefile can also decrease the pacakge size by about 30MB

+       # remove some useless dlls to decrease the package size
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/Qt5Network.dll
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/Qt5Quick.dll
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/Qt5Qml.dll
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/Qt5QmlModels.dll
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/Qt5WebSockets.dll
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/Qt5DBus.dll
+       rm -rf dist/FeelUOwn/_internal/PyQt5/Qt5/bin/opengl32sw.dll

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8579466722

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 55.099%

Totals Coverage Status
Change from base Build 8266835483: 0.02%
Covered Lines: 9617
Relevant Lines: 17454

💛 - Coveralls

@cosven cosven changed the title packaging: decrease the size by about 100MB packaging: decrease the size by about 100MB (on macOS) Apr 6, 2024
@cosven cosven merged commit f48003a into feeluown:master Apr 6, 2024
10 checks passed
@cosven cosven deleted the package branch April 6, 2024 07:54
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

2 participants