Changeset 1065
- Timestamp:
- 04/01/08 13:28:34
- Files:
-
- Shapely/trunk/CHANGES.txt (modified) (1 diff)
- Shapely/trunk/setup.py (modified) (1 diff)
- Shapely/trunk/setup_windows.py (modified) (1 diff)
- Shapely/trunk/shapely/geos.py (modified) (3 diffs)
- Shapely/trunk/tests/test_threads.py (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Shapely/trunk/CHANGES.txt
r1052 r1065 1 1 All ticket numbers are rooted at http://trac.gispython.org/projects/PCL/ticket/ 2 2 3 1.0.2: 26 February 2008 4 ----------------------- 3 1.0.3 (2008-04-01) 4 ------------------ 5 - Do not release GIL when calling GEOS functions (#158). 6 7 1.0.2 (2008-02-26) 8 ------------------ 5 9 - Fix loss of dimensionality in polygon rings (#155). 6 7 Shapely/trunk/setup.py
r1052 r1065 12 12 13 13 setup(name = 'Shapely', 14 version = '1.0. 2',14 version = '1.0.3', 15 15 description = 'Geospatial geometries, predicates, and operations', 16 16 license = 'BSD', Shapely/trunk/setup_windows.py
r1052 r1065 12 12 13 13 setup(name = 'Shapely', 14 version = '1.0. 2',14 version = '1.0.3', 15 15 description = 'Geospatial geometries, predicates, and operations', 16 16 license = 'BSD', Shapely/trunk/shapely/geos.py
r1048 r1065 4 4 5 5 import atexit 6 from ctypes import cdll, CDLL, CFUNCTYPE, c_char_p6 from ctypes import cdll, CDLL, pydll, PyDLL, CFUNCTYPE, c_char_p 7 7 from ctypes.util import find_library 8 8 import os … … 16 16 original_path = os.environ['PATH'] 17 17 os.environ['PATH'] = "%s;%s" % (local_dlls, original_path) 18 lgeos = CDLL("geos.dll")18 lgeos = PyDLL("geos.dll") 19 19 except (ImportError, WindowsError): 20 20 raise … … 39 39 else: 40 40 raise ImportError, "Could not find geos_c library" 41 lgeos = CDLL(lib)41 lgeos = PyDLL(lib) 42 42 free = CDLL(find_library('libc')).free 43 43 else: 44 44 # Try the major versioned name first, falling back on the unversioned name. 45 45 try: 46 lgeos = CDLL('libgeos_c.so.1')46 lgeos = PyDLL('libgeos_c.so.1') 47 47 except (OSError, ImportError): 48 lgeos = CDLL('libgeos_c.so')48 lgeos = PyDLL('libgeos_c.so') 49 49 except: 50 50 raise
