Index: swig/python/setup.py
===================================================================
RCS file: /home/cvs/postgis/geos/swig/python/setup.py,v
retrieving revision 1.2
diff -u -r1.2 setup.py
--- swig/python/setup.py	26 Jul 2004 15:40:58 -0000	1.2
+++ swig/python/setup.py	2 Apr 2005 05:15:00 -0000
@@ -20,6 +20,7 @@
 # ===========================================================================
 
 from distutils.core import setup, Extension
+import sys
 
 # We're skipping the metadata for now
 
@@ -27,15 +28,29 @@
 #
 # Note that until geos is ready to be installed, we're linking against
 # the pre-installed library in source/geom/.libs.
+
 extmod = Extension("_geos", ["geos_wrap.cxx"],
                    include_dirs = ["../../source/headers",
                                    "../../source/headers/geos"],
                    libraries = ["stdc++"],
                    extra_objects = ["../../source/geom/.libs/libgeos.a"])
 
+
+if sys.platform=='win32':
+    extmod = Extension("_geos", ["geos_wrap.cxx"],
+                       include_dirs = ["../../source/headers",
+                                       "../../source/headers/geos"],
+                       libraries = ["geos"],
+                       library_dirs=['../../source'],
+                       )
 # the python module, generated by SWIG from geos.i
 pymod = "geos"
 
 # The setup function
-setup(name = "PyGEOS", ext_modules = [extmod], py_modules = [pymod])
+setup(name = "PyGEOS", 
+      version = '2.1.1',
+      description = 'Python SWIG interface for GEOS',
+      url="http://geos.refractions.net",
+      ext_modules = [extmod], 
+      py_modules = [pymod,'example'])
 