1 --- include/pyamanith.h 2006-03-28 06:43:22.000000000 +1000
2 +++ include/pyamanith.h 2008-04-05 01:55:33.000000000 +1000
4 #include <amanith/numerics/geigen.h>
5 #include <amanith/numerics/gfilter.h>
6 #include <amanith/numerics/gintegration.h>
7 -#include <amanith/rendering/gdrawboard.h>
8 +#include <amanith/rendering/gdrawboard.swig.h>
9 #include <amanith/rendering/gdrawstyle.h>
10 #include <amanith/rendering/gopenglboard.h>
11 #include <amanith/support/gavltree.h>
12 --- setup.py 2007-11-19 07:10:03.000000000 +1000
13 +++ setup.py 2008-04-05 01:55:33.000000000 +1000
15 inc = [join("changes", "include"), join(amanith_base, "include"), "include"]
16 lib = [join(amanith_base, "lib")]
18 -swig_args = ["-Ibuild/amanith"]
19 +swig_args = ["-Ichanges/include", "-Iinclude", "-I/usr/include"]
24 relPath = join(root, file).replace(source + os.sep, "")
25 shutil.copy(join(source, relPath), join(target, relPath))
28 - # Ultimately this should use patch(1) or something, but for now
29 - # we just copy the stuff over.
30 - if not os.path.isdir(join("build", "amanith")):
31 - os.makedirs(join("build", "amanith"))
32 - shutil.copytree(join(amanith_base, "include"), join("build", "amanith", "include"))
33 - self.copy("changes", join("build", "amanith"))
34 - _build_ext.run(self)
36 ext_amanith = Extension('_amanith', ['amanith.i'],
40 - extra_compile_args = cc_args)
41 + swig_opts = swig_args, extra_compile_args = swig_args, libraries = libs)
43 setup(name = 'PyAmanith',