summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qt/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/qt/setup.py')
-rwxr-xr-xMac/Modules/qt/setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Mac/Modules/qt/setup.py b/Mac/Modules/qt/setup.py
new file mode 100755
index 0000000..98d836d
--- /dev/null
+++ b/Mac/Modules/qt/setup.py
@@ -0,0 +1,13 @@
+# This is a temporary setup script to allow distribution of
+# MacPython 2.4 modules for MacPython 2.3.
+
+from distutils.core import Extension, setup
+
+setup(name="QuickTime", version="0.2",
+ ext_modules=[
+ Extension('QuickTime._Qt', ['_Qtmodule.c'],
+ extra_link_args=['-framework', 'Carbon', '-framework', 'QuickTime'])
+ ],
+ py_modules=['QuickTime.Qt', 'QuickTime.QuickTime'],
+ package_dir={'QuickTime':'../../../Lib/plat-mac/Carbon'}
+ )