Mercurial > cpython-lru_cache-weakref
annotate Mac/Modules/osa/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 |
| rev | line source |
|---|---|
|
31161
4a12d91af8c3
Make this module Python 2.3 compatible, and add a setup script that allows
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
1 # This is a temporary setup script to allow distribution of |
|
4a12d91af8c3
Make this module Python 2.3 compatible, and add a setup script that allows
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
2 # MacPython 2.4 modules for MacPython 2.3. |
|
4a12d91af8c3
Make this module Python 2.3 compatible, and add a setup script that allows
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
3 |
|
4a12d91af8c3
Make this module Python 2.3 compatible, and add a setup script that allows
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
4 from distutils.core import Extension, setup |
|
4a12d91af8c3
Make this module Python 2.3 compatible, and add a setup script that allows
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
5 |
|
4a12d91af8c3
Make this module Python 2.3 compatible, and add a setup script that allows
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
6 setup(name="OSA", version="0.1", |
|
32736
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
7 ext_modules=[ |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
8 Extension('_OSA', ['_OSAmodule.c'], |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
9 extra_link_args=['-framework', 'Carbon']) |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
10 ], |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
11 py_modules=['OSA.OSA', 'OSA.OSAconst'], |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
12 package_dir={'OSA':'../../../Lib/plat-mac/Carbon'} |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31161
diff
changeset
|
13 ) |
