summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/applescript/makedisk.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-01 18:23:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-01 18:23:09 (GMT)
commitde9c869fb8c1f842bc3dfc4d51f287cb6b644ab2 (patch)
treeda0b9c0e9d56288354f936b59021d94018a172a8 /Mac/Demo/applescript/makedisk.py
parentbbfd71d7ac02bc2053a0ba494a3f055fbec8deee (diff)
downloadcpython-de9c869fb8c1f842bc3dfc4d51f287cb6b644ab2.zip
cpython-de9c869fb8c1f842bc3dfc4d51f287cb6b644ab2.tar.gz
cpython-de9c869fb8c1f842bc3dfc4d51f287cb6b644ab2.tar.bz2
Hopefully fix make framework install on Mac (see 3174)
Removal of the Mac modules broke many of the Mac scripts (including BuildApplet.py) so the building of the Python launcher and IDLE.app was broken. I manually copied built versions of those apps into Mac. Everything else which used Mac modules had to die.
Diffstat (limited to 'Mac/Demo/applescript/makedisk.py')
-rw-r--r--Mac/Demo/applescript/makedisk.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/Mac/Demo/applescript/makedisk.py b/Mac/Demo/applescript/makedisk.py
deleted file mode 100644
index 981a5ef..0000000
--- a/Mac/Demo/applescript/makedisk.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import Disk_Copy
-import macfs
-import sys
-
-talker = Disk_Copy.Disk_Copy(start=1)
-talker.activate()
-filespec = macfs.FSSpec('my disk image.img')
-try:
- objref = talker.create('my disk image', saving_as=filespec, leave_image_mounted=1)
-except Disk_Copy.Error as arg:
- print("ERROR: my disk image:", arg)
-else:
- print('objref=', objref)
-print('Type return to exit-')
-sys.stdin.readline()