Mercurial > cpython-lru_cache-weakref
annotate Mac/Modules/qt/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 |
|---|---|
|
31584
7abf42479880
Setup file to allow the QuickTime for 2.4 to be compiled
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
1 # This is a temporary setup script to allow distribution of |
|
7abf42479880
Setup file to allow the QuickTime for 2.4 to be compiled
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
2 # MacPython 2.4 modules for MacPython 2.3. |
|
7abf42479880
Setup file to allow the QuickTime for 2.4 to be compiled
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
3 |
|
7abf42479880
Setup file to allow the QuickTime for 2.4 to be compiled
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
4 from distutils.core import Extension, setup |
|
7abf42479880
Setup file to allow the QuickTime for 2.4 to be compiled
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
5 |
|
7abf42479880
Setup file to allow the QuickTime for 2.4 to be compiled
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff
changeset
|
6 setup(name="QuickTime", version="0.2", |
|
32736
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
7 ext_modules=[ |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
8 Extension('QuickTime._Qt', ['_Qtmodule.c'], |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
9 extra_link_args=['-framework', 'Carbon', '-framework', 'QuickTime']) |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
10 ], |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
11 py_modules=['QuickTime.Qt', 'QuickTime.QuickTime'], |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
12 package_dir={'QuickTime':'../../../Lib/plat-mac/Carbon'} |
|
c3a096bfbd6b
Whitespace normalization, via reindent.py.
Tim Peters <tim.peters@gmail.com>
parents:
31584
diff
changeset
|
13 ) |
