view Mac/Modules/launch/setup.py @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents c3a096bfbd6b
children
line wrap: on
line source

# 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'}
        )