/Mac/Modules/launch/setup.py
http://unladen-swallow.googlecode.com/ · Python · 13 lines · 9 code · 2 blank · 2 comment · 0 complexity · 8de03aad41ef1054c544e02ef5bf9593 MD5 · raw file
- # 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'}
- )