From c838a339b7e539fe0cda6ac1756776fecd0c29f0 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 22 Apr 2010 13:37:57 +0000 Subject: [PATCH] started a new python module --- swig/python/setup.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 swig/python/setup.py diff --git a/swig/python/setup.py b/swig/python/setup.py new file mode 100644 index 00000000..d7868da3 --- /dev/null +++ b/swig/python/setup.py @@ -0,0 +1,22 @@ +#!/usr/bin/python + +from distutils.core import setup, Extension + +module1 = Extension ('VImage', sources = ['vimagemodule.cxx'], include_dirs = + ['home/john/vips/include']) +module2 = Extension ('VMask', sources = ['vmaskmodule.cxx'], include_dirs = + ['home/john/vips/include']) +module3 = Extension ('VDisplay', sources = ['vdisplaymodule.cxx'], + include_dirs = ['home/john/vips/include']) +module4 = Extension ('VError', sources = ['verrormodule.cxx'], include_dirs = + ['home/john/vips/include']) + +setup (name = 'vips7', + version = '7.21.3', + description = 'vips-7.x image processing library', + author = 'John Cupitt', + author_email = 'jcupitt@gmail.com', + url = 'http://www.vips.ecs.soton.ac.uk', + ext_package = 'vips7', + ext_modules = [module1, module2, module3, module4]) +