Skip to content

Commit

Permalink
hooks: toga: exclude setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
rokm committed Sep 16, 2024
1 parent ffb2aa5 commit 4a1fae0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _pyinstaller_hooks_contrib/stdhooks/hook-toga.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@

# Collect metadata for toga-core dist, which is used by toga module to determine its version.
datas = copy_metadata("toga-core")

# Prevent `toga` from pulling `setuptools_scm` into frozen application, as it makes no sense in that context.
excludedimports = ["setuptools_scm"]

0 comments on commit 4a1fae0

Please sign in to comment.