Skip to content

Commit

Permalink
Don't include trio.testing in compiled builds
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed May 28, 2024
1 parent dc89185 commit 0a2f935
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BEE2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ EXCLUDES = [
'win32evtlogutil',
'smtplib',

# Pulls in all of pytest etc, not required.
'trio.testing',

'unittest', # Imported in __name__==__main__..
'doctest',
'optparse',
Expand Down
2 changes: 2 additions & 0 deletions src/compiler.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ EXCLUDES = [
'bg_daemon',
# We don't need to actually run versioning at runtime.
'versioningit',
# Pulls in all of pytest etc, not required.
'trio.testing',
]

# The modules made available for plugins to use.
Expand Down

0 comments on commit 0a2f935

Please sign in to comment.