Skip to content

Commit 7a66b56

Browse files
author
jackjansen
committed
Setup file to allow the QuickTime for 2.4 to be compiled
for MacPython 2.3 (and, hopefully, python 2.3 for windows too). git-svn-id: http://svn.python.org/projects/python/trunk@35344 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 15ec071 commit 7a66b56

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Mac/Modules/qt/qtscan.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@
99
LONG = "QuickTime"
1010
SHORT = "qt"
1111
HEADERFILES= (
12+
# "Components.h" -- In Carbon.Cm
1213
"Movies.h",
1314
"ImageCompression.h",
1415
"QuickTimeComponents.h",
1516
# "ImageCodec.h" -- seems not too useful, and difficult.
17+
# "IsochronousDataHandlers.h" -- Is this useful?
1618
"MediaHandlers.h",
1719
# "QTML.h", -- Windows only, needs separate module
1820
# "QuickTimeStreaming.h", -- Difficult
1921
# "QTStreamingComponents.h", -- Needs QTStreaming
2022
"QuickTimeMusic.h",
23+
# "QuickTimeVR.h", -- Not done yet
24+
# "Sound.h", -- In Carbon.Snd
2125
)
2226
OBJECTS = ("Movie", "Track", "Media", "UserData", "TimeBase", "MovieController",
2327
"IdleManager", "SGOutput")

Mac/Modules/qt/setup.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This is a temporary setup script to allow distribution of
2+
# MacPython 2.4 modules for MacPython 2.3.
3+
4+
from distutils.core import Extension, setup
5+
6+
setup(name="QuickTime", version="0.2",
7+
ext_modules=[
8+
Extension('QuickTime._Qt', ['_Qtmodule.c'],
9+
extra_link_args=['-framework', 'Carbon', '-framework', 'QuickTime'])
10+
],
11+
py_modules=['QuickTime.Qt', 'QuickTime.QuickTime'],
12+
package_dir={'QuickTime':'../../../Lib/plat-mac/Carbon'}
13+
)

0 commit comments

Comments
 (0)