Changeset 1017
- Timestamp:
- 01/16/08 15:01:50
- Files:
-
- Shapely/trunk/HISTORY.txt (modified) (1 diff)
- Shapely/trunk/README.txt (modified) (3 diffs)
- Shapely/trunk/setup.py (modified) (1 diff)
- Shapely/trunk/setup_windows.py (modified) (2 diffs)
- Shapely/trunk/shapely/geos.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Shapely/trunk/HISTORY.txt
r1014 r1017 1 All ticket numbers are rooted at http://trac.gispython.org/projects/PCL/ticket/ 2 3 1.0 RC2: 16 January 2008 4 ------------------------ 5 - Added temporary solution for #149. 6 7 1 8 1.0 RC1: 14 January 2008 2 9 ------------------------ 3 4 10 - First release candidate 5 11 Shapely/trunk/README.txt
r1015 r1017 26 26 ------------ 27 27 28 Shapely can be installed from the Python package index:: 28 Windows users should use the executable installer, which contains the required 29 GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it 30 is on the system library path, and install from the Python package index:: 29 31 30 32 $ sudo easy_install Shapely … … 34 36 $ sudo python setup.py install 35 37 36 or by using the development buildout on *nix, which also provides libgeos_c::38 or by using the development buildout on Linux, which also provides libgeos_c:: 37 39 38 40 $ svn co http://svn.gispython.org/svn/gispy/buildout/shapely.buildout/trunk shapely.buildout … … 138 140 ------- 139 141 140 Sean Gillies (Pleiades)141 Howard Butler (Hobu, Inc.)142 Kai Lautaportti (Hexagon IT)143 Frederic Junod (Camptocamp SA)144 Eric Lemoine (Camptocamp SA)145 Justin Bronn (GeoDjango) for ctypes inspiration146 Artem Pavlenko (Mapnik) for help with GEOS DLLs142 * Sean Gillies (Pleiades) 143 * Howard Butler (Hobu, Inc.) 144 * Kai Lautaportti (Hexagon IT) 145 * Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA) 146 * Eric Lemoine (Camptocamp SA) 147 * Justin Bronn (GeoDjango) for ctypes inspiration 148 * Artem Pavlenko (Mapnik) for help with GEOS DLLs 147 149 148 Some of this work was supported by a grant (Pleiades) from the U.S. National 149 Endowment for the Humanities (http://www.neh.gov). 150 .. |eaigue| unicode:: U+00E9 151 :trim: 150 152 153 Major portions of this work were supported by a grant (to Pleiades) from the 154 U.S. National Endowment for the Humanities (http://www.neh.gov). 155 Shapely/trunk/setup.py
r1014 r1017 12 12 13 13 setup(name = 'Shapely', 14 version = '1.0rc 1',14 version = '1.0rc2', 15 15 description = 'Geospatial geometries, predicates, and operations', 16 16 license = 'BSD', Shapely/trunk/setup_windows.py
r1014 r1017 12 12 13 13 setup(name = 'Shapely', 14 version = '1.0rc 1',14 version = '1.0rc2', 15 15 description = 'Geospatial geometries, predicates, and operations', 16 16 license = 'BSD', … … 23 23 long_description = readme_text, 24 24 packages = ['shapely', 'shapely.geometry'], 25 data_files=[('DLLs', ['DLLs/geos.dll' , 'DLLs/geos_c.dll']),],25 data_files=[('DLLs', ['DLLs/geos.dll']),], 26 26 install_requires = install_requires, 27 27 #tests_require = ['numpy'], -- not working with "tests" command Shapely/trunk/shapely/geos.py
r1014 r1017 13 13 if sys.platform == 'win32': 14 14 try: 15 geospath = os.path.abspath(16 shapely.__file__ + "../../../../../DLLs/geos_c.dll"17 )18 lgeos = CDLL( geospath)15 local_dlls = os.path.abspath(os.__file__ + "../../../DLLs") 16 original_path = os.environ['PATH'] 17 os.environ['PATH'] = "%s;%s" % (local_dlls, original_path) 18 lgeos = CDLL("geos.dll") 19 19 except (ImportError, WindowsError): 20 20 raise 21 free = cdll.msvcrt.free 21 def free(m): 22 try: 23 cdll.msvcrt.free(m) 24 except WindowsError: 25 # XXX: See http://trac.gispython.org/projects/PCL/ticket/149 26 pass 27 22 28 elif sys.platform == 'darwin': 23 29 lgeos = CDLL(find_library('geos_c'))
