annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31160
2a0782cc151f Made this module compatible with Python2.3, and added a temporary setup
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
1 # This is a temporary setup script to allow distribution of
2a0782cc151f Made this module compatible with Python2.3, and added a temporary setup
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
2 # MacPython 2.4 modules for MacPython 2.3.
2a0782cc151f Made this module compatible with Python2.3, and added a temporary setup
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
3
2a0782cc151f Made this module compatible with Python2.3, and added a temporary setup
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
4 from distutils.core import Extension, setup
2a0782cc151f Made this module compatible with Python2.3, and added a temporary setup
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
5
31585
2c6123d925fe kLsUnknownType and kLSUnknownCreator were ints in stead of OSTypes.
Jack Jansen <jack.jansen@cwi.nl>
parents: 31160
diff changeset
6 setup(name="LaunchServices", version="0.2",
32736
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
7 ext_modules=[
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
8 Extension('_Launch', ['_Launchmodule.c'],
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
9 extra_link_args=['-framework', 'ApplicationServices'])
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
10 ],
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
11 py_modules=['LaunchServices.Launch', 'LaunchServices.LaunchServices'],
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
12 package_dir={'LaunchServices':'../../../Lib/plat-mac/Carbon'}
c3a096bfbd6b Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents: 31585
diff changeset
13 )