view Mac/Modules/launch/setup.py @ 32527:0da660e05e69 legacy-trunk

"#if WITH_THREAD" is incorrect; must be #ifdef instead; WITH_THREAD isn't always set to an integer value when it's defined.
author Tim Peters <tim.peters@gmail.com>
date Wed, 07 Jul 2004 20:42:07 +0000
parents 2c6123d925fe
children c3a096bfbd6b
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'}
	)