bp = self.bundlepath
# Create the app bundle in a temporary location and then
- # rename the completed bundle. This way the Finder will
+ # rename the completed bundle. This way the Finder will
# never see an incomplete bundle (where it might pick up
# and cache the wrong meta data)
self.bundlepath = bp + '~'
from idlelib.PyShell import main
import sys, os
-# Make sure sys.executable points to the python interpreter inside the
+# Make sure sys.executable points to the python interpreter inside the
# framework, instead of at the helper executable inside the application
# bundle (the latter works, but doesn't allow access to the window server)
sys.executable = os.path.join(sys.prefix, 'bin', 'python')
argvemulator.ArgvCollector().mainloop()
if __name__ == '__main__':
- main()
+ main()