symbian-qemu-0.9.1-12/python-2.6.1/Mac/Modules/launch/setup.py
author William Roberts <williamr@symbian.org>
Wed, 07 Jul 2010 22:30:23 +0100
branchGCC_SURGE
changeset 88 3c15ef939dd3
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Revised fix for Bug 3162 - can't use #ifdef GCCE in ROM building files, so just comment out the line for now

# 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="LaunchServices", version="0.2",
        ext_modules=[
                Extension('_Launch', ['_Launchmodule.c'],
                extra_link_args=['-framework', 'ApplicationServices'])
        ],
        py_modules=['LaunchServices.Launch', 'LaunchServices.LaunchServices'],
        package_dir={'LaunchServices':'../../../Lib/plat-mac/Carbon'}
        )