Dear all, I am trying to install Shapely on a Windows Vista 64 bit platform. The first thing that I did was to create the GEOS dll. The steps that I followed are:
1. I downloaded GEOS package (e.g. geos-3.2.0.tar.bz2<http://download.osgeo.org/geos/geos-3.2.0.tar.bz2>) from http://trac.osgeo.org/geos/wiki 2. I decompress the archive 3. I opened the Visual Studio command prompt 4. I moved to the directory where I decompressed the GEOS package 5. I fixed the makefile (see: http://trac.osgeo.org/geos/changeset/2833) 6. I run autogen.bat 7. From build the optimized configuration: nmake /f makefile.vcMSVC_VER=1600(see: http://trac.osgeo.org/geos/wiki/BuildingOnWindowsWithNMake) Then I moved the geos.dll into the PythonXX\DLLs directory and I issued the following command: easy_install Shapely Unfortunately this is the result: Searching for Shapely Reading http://pypi.python.org/simple/Shapely/ Reading http://trac.gispython.org/lab/wiki/Shapely Reading http://trac.gispython.org/projects/PCL/wiki/Shapely Reading http://trac.gispython.org/projects/PCL/wiki/ShapeLy Best match: Shapely 1.2b2 Downloading http://gispython.org/dist/Shapely-1.2b2.tar.gz Processing Shapely-1.2b2.tar.gz Running Shapely-1.2b2\setup.py -q bdist_egg --dist-dir c:\users\zuliani\appdata\local\temp\easy_install-5mm3yo\Shapely-1.2b2\egg-dist-tmp-bk mmad C:\Python26\lib\distutils\dist.py:266: UserWarning: Unknown distribution option: 'requires_external' warnings.warn(msg) C:\Python26\lib\distutils\dist.py:266: UserWarning: Unknown distribution option: 'metadata_version' warnings.warn(msg) C:\Python26\lib\distutils\dist.py:266: UserWarning: Unknown distribution option: 'requires_python' warnings.warn(msg) warning: no previously-included files matching '*' found under directory 'manual' *error: Setup script exited with error: can't copy 'DLLs\geos.dll': doesn't exist or not a regular file * Sadly I end up with an error, since easy_install does not seem to recognize that the geos.dll is present in the PythonXX\DLLs. I was wondering if any of you have an idea regarding how to solve this problem. I want to emphasize that even if I played around with Python for a while now, I might still ignore some of the subtleties of easy_install when it comes to install packages. Also, note that the link "*Windows users should use the executable ** installer*"<http://pypi.python.org/packages/2.5/S/Shapely/Shapely-1.0.14.win32.exe#md5=92281555b23623b8cf7b4fbc9d01f17a>at http://trac.gispython.org/lab/wiki/Shapely is broken and even if I was able to locate the installers at http://pypi.python.org/packages/2.5/S/Shapely/, they do not work on 64 bits Windows platform since the installer is not able to locate the registry entry for python (apparently a known problem) Thanks a lot for your help, Marco Zuliani, Phd phone: +1 805 967 9828 web: www.mayachitra.com
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
