Mercurial > pytave
comparison setup.py.in @ 0:4da14cce0890 pytave-branch
First launchpad.net check in.
author | David Grundberg <c04dgg@cs.umu.se> |
---|---|
date | Fri, 17 Oct 2008 12:05:46 +0200 |
parents | |
children | 6d75691c5c07 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4da14cce0890 |
---|---|
1 #!/usr/bin/python | |
2 # -*- coding: utf-8; c-basic-offset: 3; indent-tabs-mode: nil; tab-width: 3; -*- | |
3 # @configure_input@ | |
4 | |
5 from distutils.core import setup, Extension | |
6 | |
7 setup( | |
8 name = 'pytave', | |
9 version = '@PACKAGE_VERSION@', | |
10 author = '@PACKAGE_NAME@ team', | |
11 author_email = '@PACKAGE_BUGREPORT@', | |
12 package_dir = {'pytave' : '@srcdir@/package'}, | |
13 packages = ['pytave'], | |
14 ext_modules = [ | |
15 Extension('pytave/_pytave', | |
16 language = "c++", | |
17 sources = [ | |
18 '@srcdir@/octave_to_python.cc', | |
19 '@srcdir@/pytave.cc', | |
20 '@srcdir@/exceptions.cc', | |
21 '@srcdir@/python_to_octave.cc', | |
22 ], | |
23 depends = [ | |
24 '@srcdir@/arrayobjectdefs.h', | |
25 '@srcdir@/config.h', | |
26 '@srcdir@/octave_to_python.h', | |
27 '@srcdir@/pytavedefs.h', | |
28 '@srcdir@/exceptions.h', | |
29 '@srcdir@/python_to_octave.h' | |
30 ], | |
31 | |
32 # TODO: Check whether paths work on Windows or not. | |
33 # The file separator might be wrong. (Must be / in setup.cfg) | |
34 include_dirs = ['@PYTAVE_OCTAVE_INCLUDE_PATH@', '@abs_builddir@', '@srcdir@'], # Python always included. | |
35 define_macros = [('HAVE_CONFIG_H', '1')], | |
36 library_dirs = ['@PYTAVE_OCTAVE_RPATH@'], | |
37 runtime_library_dirs = ['@PYTAVE_OCTAVE_RPATH@'], | |
38 libraries = ['octinterp', 'octave', 'cruft', '@BOOST_PYTHON_LIB@'] | |
39 ) | |
40 ] | |
41 ) |