Mercurial > cpython-lru_cache-weakref
annotate Mac/Modules/launch/setup.py @ 80661:94de77bd0b4b 2.7
Issue #16194: document imp.load_dynamic problems
when read several extension modules from the same binary object file.
| author | Andrew Svetlov <andrew.svetlov@gmail.com> |
|---|---|
| date | Thu, 29 Nov 2012 19:51:28 +0200 |
| parents | c3a096bfbd6b |
| children |
| 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 ) |
