[GRASS-SVN] r36324 - grass/trunk/swig/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 11 04:59:23 EDT 2009


Author: neteler
Date: 2009-03-11 04:59:23 -0400 (Wed, 11 Mar 2009)
New Revision: 36324

Added:
   grass/trunk/swig/python/setup.py
Log:
Juergen Fischer: setup files (from osgeo4w trac #37)

Added: grass/trunk/swig/python/setup.py
===================================================================
--- grass/trunk/swig/python/setup.py	                        (rev 0)
+++ grass/trunk/swig/python/setup.py	2009-03-11 08:59:23 UTC (rev 36324)
@@ -0,0 +1,15 @@
+from distutils.core import setup, Extension
+import os
+
+setup(
+	ext_modules= [
+		Extension(
+			'_grass6_wxvdigit',
+			sources=[
+				"python_grass6.i",
+				],
+			swig_opts=['-c++', '-shadow', "-I%s" % os.environ.get("GRASS_INC"), "-I%s\\include" % os.environ.get("OSGEO4W_ROOT") ],
+			libraries=['grass_gmath', 'grass_imagery','grass_gis','grass_vedit','gdal_i']
+		)
+	]
+)


Property changes on: grass/trunk/swig/python/setup.py
___________________________________________________________________
Name: svn:executable
   + *



More information about the grass-commit mailing list