[GRASS-SVN] r36323 - grass/branches/develbranch_6/swig/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 11 04:58:54 EDT 2009


Author: neteler
Date: 2009-03-11 04:58:53 -0400 (Wed, 11 Mar 2009)
New Revision: 36323

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

Added: grass/branches/develbranch_6/swig/python/setup.py
===================================================================
--- grass/branches/develbranch_6/swig/python/setup.py	                        (rev 0)
+++ grass/branches/develbranch_6/swig/python/setup.py	2009-03-11 08:58:53 UTC (rev 36323)
@@ -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/branches/develbranch_6/swig/python/setup.py
___________________________________________________________________
Name: svn:executable
   + *



More information about the grass-commit mailing list