[GRASS-SVN] r36052 - grass/trunk/swig/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 22 12:09:24 EST 2009
Author: glynn
Date: 2009-02-22 12:09:24 -0500 (Sun, 22 Feb 2009)
New Revision: 36052
Added:
grass/trunk/swig/python/arraystats.i
grass/trunk/swig/python/cluster.i
grass/trunk/swig/python/dbmi.i
grass/trunk/swig/python/g3d.i
grass/trunk/swig/python/trans.i
grass/trunk/swig/python/vedit.i
Modified:
grass/trunk/swig/python/Makefile
Log:
Add Python wrappers for more libraries
Modified: grass/trunk/swig/python/Makefile
===================================================================
--- grass/trunk/swig/python/Makefile 2009-02-22 15:15:53 UTC (rev 36051)
+++ grass/trunk/swig/python/Makefile 2009-02-22 17:09:24 UTC (rev 36052)
@@ -10,17 +10,24 @@
DOXNAME=
DOXINPUT=grasspython.dox
-MODULES = utils date grass math proj imagery vector raster display stats
+MODULES = utils date grass math proj imagery vector raster display stats \
+ dbmi g3d arraystats cluster trans vedit
-date_LIBS = $(DATETIMELIB)
-grass_LIBS = $(GISLIB)
-math_LIBS = $(GMATHLIB)
-proj_LIBS = $(GPROJLIB)
-imagery_LIBS = $(IMAGERYLIB)
-vector_LIBS = $(VECTLIB)
-raster_LIBS = $(RASTERLIB)
-display_LIBS = $(DISPLAYLIB)
-stats_LIBS = $(STATSLIB)
+date_LIBS = $(DATETIMELIB)
+grass_LIBS = $(GISLIB)
+math_LIBS = $(GMATHLIB)
+proj_LIBS = $(GPROJLIB)
+imagery_LIBS = $(IMAGERYLIB)
+vector_LIBS = $(VECTLIB)
+raster_LIBS = $(RASTERLIB)
+display_LIBS = $(DISPLAYLIB)
+stats_LIBS = $(STATSLIB)
+dbmi_LIBS = $(DBMILIB)
+g3d_LIBS = $(G3DLIB)
+arraystats_LIBS = $(ARRAYSTATSLIB)
+cluster_LIBS = $(CLUSTERLIB)
+trans_LIBS = $(TRANSLIB)
+vedit_LIBS = $(VEDITLIB)
vector_wrap_c_FLAGS = $(VECT_INC)
proj_wrap_c_FLAGS = $(PROJINC) $(GDALCFLAGS)
@@ -77,4 +84,11 @@
raster_wrap.c: $(ARCH_INCDIR)/raster.h
display_wrap.c: $(ARCH_INCDIR)/display.h
stats_wrap.c: $(ARCH_INCDIR)/stats.h
+dbmi_wrap.c: $(ARCH_INCDIR)/dbmi.h
+dbmi_wrap.c: $(ARCH_INCDIR)/proto_dbmi.h
+g3d_wrap.c: $(ARCH_INCDIR)/G3d.h
+arraystats_wrap.c: $(ARCH_INCDIR)/arraystats.h
+cluster_wrap.c: $(ARCH_INCDIR)/cluster.h
+trans_wrap.c: $(ARCH_INCDIR)/transform.h
+vedit_wrap.c: $(ARCH_INCDIR)/vedit.h
utils_wrap.c:
Added: grass/trunk/swig/python/arraystats.i
===================================================================
--- grass/trunk/swig/python/arraystats.i (rev 0)
+++ grass/trunk/swig/python/arraystats.i 2009-02-22 17:09:24 UTC (rev 36052)
@@ -0,0 +1,8 @@
+
+%include "common.i"
+
+%{
+#include <grass/arraystats.h>
+%}
+
+%include "grass/arraystats.h"
Added: grass/trunk/swig/python/cluster.i
===================================================================
--- grass/trunk/swig/python/cluster.i (rev 0)
+++ grass/trunk/swig/python/cluster.i 2009-02-22 17:09:24 UTC (rev 36052)
@@ -0,0 +1,8 @@
+
+%include "common.i"
+
+%{
+#include <grass/cluster.h>
+%}
+
+%include "grass/cluster.h"
Added: grass/trunk/swig/python/dbmi.i
===================================================================
--- grass/trunk/swig/python/dbmi.i (rev 0)
+++ grass/trunk/swig/python/dbmi.i 2009-02-22 17:09:24 UTC (rev 36052)
@@ -0,0 +1,8 @@
+
+%include "common.i"
+
+%{
+#include <grass/dbmi.h>
+%}
+
+%include "grass/dbmi.h"
Added: grass/trunk/swig/python/g3d.i
===================================================================
--- grass/trunk/swig/python/g3d.i (rev 0)
+++ grass/trunk/swig/python/g3d.i 2009-02-22 17:09:24 UTC (rev 36052)
@@ -0,0 +1,8 @@
+
+%include "common.i"
+
+%{
+#include <grass/G3d.h>
+%}
+
+%include "grass/G3d.h"
Added: grass/trunk/swig/python/trans.i
===================================================================
--- grass/trunk/swig/python/trans.i (rev 0)
+++ grass/trunk/swig/python/trans.i 2009-02-22 17:09:24 UTC (rev 36052)
@@ -0,0 +1,8 @@
+
+%include "common.i"
+
+%{
+#include <grass/transform.h>
+%}
+
+%include "grass/transform.h"
Added: grass/trunk/swig/python/vedit.i
===================================================================
--- grass/trunk/swig/python/vedit.i (rev 0)
+++ grass/trunk/swig/python/vedit.i 2009-02-22 17:09:24 UTC (rev 36052)
@@ -0,0 +1,8 @@
+
+%include "common.i"
+
+%{
+#include <grass/vedit.h>
+%}
+
+%include "grass/vedit.h"
More information about the grass-commit
mailing list