/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

  1. # This is a temporary setup script to allow distribution of
  2. # MacPython 2.4 modules for MacPython 2.3.
  3. from distutils.core import Extension, setup
  4. setup(name="LaunchServices", version="0.2",
  5. ext_modules=[
  6. Extension('_Launch', ['_Launchmodule.c'],
  7. extra_link_args=['-framework', 'ApplicationServices'])
  8. ],
  9. py_modules=['LaunchServices.Launch', 'LaunchServices.LaunchServices'],
  10. package_dir={'LaunchServices':'../../../Lib/plat-mac/Carbon'}
  11. )