Mercurial > cpython-lru_cache-weakref
annotate Mac/Modules/qt/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 |
|---|---|
|
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 ) |
