Skip to content

Commit

Permalink
packaging: decrease the size by about 100MB (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven committed Apr 6, 2024
1 parent 22f6a42 commit f48003a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ integration_test:
test: lint unittest

BUNDLE_FLAGS=
# On macOS, excluding the following moduels can decrease the package size by 130MB,
# mainly due to the QtWebEngine module.
BUNDLE_FLAGS += --exclude PyQt5.QtQml
BUNDLE_FLAGS += --exclude PyQt5.QtDBus
BUNDLE_FLAGS += --exclude PyQt5.QtPdf
BUNDLE_FLAGS += --exclude PyQt5.QtQuick
BUNDLE_FLAGS += --exclude PyQt5.QtNetwork
BUNDLE_FLAGS += --exclude PyQt5.QtWebEngineCore
BUNDLE_FLAGS += --exclude PyQt5.QtWebEngineWidgets

ifeq ($(OS),Windows_NT)
BUNDLE_FLAGS += --name FeelUOwn
Expand Down

0 comments on commit f48003a

Please sign in to comment.