diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-12-09 14:51:21 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-12-09 14:51:21 +0000 |
commit | 2af4ce8f3009d728d1c17758468de14920821b3d (patch) | |
tree | 12854d915ef3d19a1ab1052027169dde55d88fd9 /Mac/Modules/launch/setup.py | |
parent | 1dde95dffa44c7ddc4eee7b21cc44274d3e3effe (diff) | |
download | cpython-git-2af4ce8f3009d728d1c17758468de14920821b3d.tar.gz |
Made this module compatible with Python2.3, and added a temporary setup
script that allows it to be built for that Python.
Diffstat (limited to 'Mac/Modules/launch/setup.py')
-rw-r--r-- | Mac/Modules/launch/setup.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Mac/Modules/launch/setup.py b/Mac/Modules/launch/setup.py new file mode 100644 index 0000000000..4b101cf472 --- /dev/null +++ b/Mac/Modules/launch/setup.py @@ -0,0 +1,13 @@ +# This is a temporary setup script to allow distribution of +# MacPython 2.4 modules for MacPython 2.3. + +from distutils.core import Extension, setup + +setup(name="LaunchServices", version="0.1", + ext_modules=[ + Extension('_Launch', ['_Launchmodule.c'], + extra_link_args=['-framework', 'ApplicationServices']) + ], + py_modules=['LaunchServices.Launch', 'LaunchServices.LaunchServices'], + package_dir={'LaunchServices':'../../../Lib/plat-mac/Carbon'} + ) |