summaryrefslogtreecommitdiffstats
path: root/Mac/IDLE
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-01-15 05:44:21 (GMT)
committerNed Deily <nad@acm.org>2011-01-15 05:44:21 (GMT)
commit7f15fa9cefea403e1d3dfffa3c7584b58ab80387 (patch)
treeb4846bde5e87715f721991c5a567e2fc68144ac2 /Mac/IDLE
parent4f7ff7812a6d4f7e73d186e4accde4002fa7009a (diff)
downloadcpython-7f15fa9cefea403e1d3dfffa3c7584b58ab80387.zip
cpython-7f15fa9cefea403e1d3dfffa3c7584b58ab80387.tar.gz
cpython-7f15fa9cefea403e1d3dfffa3c7584b58ab80387.tar.bz2
Remove spurious copy of Mac/IDLE/idlemain.py left over from
conversion from Python 2 build process. The correct version is in Mac/IDLE/IDLE.app/Contents/Resources/
Diffstat (limited to 'Mac/IDLE')
-rw-r--r--Mac/IDLE/idlemain.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/Mac/IDLE/idlemain.py b/Mac/IDLE/idlemain.py
deleted file mode 100644
index 9b52738..0000000
--- a/Mac/IDLE/idlemain.py
+++ /dev/null
@@ -1,30 +0,0 @@
-"""
-Bootstrap script for IDLE as an application bundle.
-"""
-import sys, os
-
-from idlelib.PyShell import main
-
-# Change the current directory the user's home directory, that way we'll get
-# a more useful default location in the open/save dialogs.
-os.chdir(os.path.expanduser('~/Documents'))
-
-
-# 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)
-if sys.executable.endswith('-32'):
- sys.executable = os.path.join(sys.prefix, 'bin', 'python-32')
-else:
- sys.executable = os.path.join(sys.prefix, 'bin', 'python')
-
-# Look for the -psn argument that the launcher adds and remove it, it will
-# only confuse the IDLE startup code.
-for idx, value in enumerate(sys.argv):
- if value.startswith('-psn_'):
- del sys.argv[idx]
- break
-
-#argvemulator.ArgvCollector().mainloop()
-if __name__ == '__main__':
- main()