We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b92273d commit 8d8a6edCopy full SHA for 8d8a6ed
garlicsim_wx/garlicsim_wx/misc/icon_bundle/__init__.py
@@ -3,7 +3,6 @@
3
4
'''Defines an icon bundle for GarlicSim.'''
5
6
-
7
import pkg_resources
8
9
import wx
garlicsim_wx/garlicsim_wx/widgets/workspace_widgets/shell.py
@@ -66,6 +66,9 @@ def __init__(self, frame):
66
# We used to import `site` here to get `help` and others when frozen,
67
# but now `garlicsim` has `bootstrap_py2exe` which bundles its own
68
# version of `site` which creates `help` and a few other builtins.
69
+ import __builtin__
70
+ assert 'help' in __builtin__.__dict__
71
+ del __builtin__
72
73
74
def setLocalShell(self):
0 commit comments