shapely 1.3.0__tar.gz → 1.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Shapely-1.3.0 → Shapely-1.3.1}/CHANGES.txt +5 -0
- {Shapely-1.3.0/Shapely.egg-info → Shapely-1.3.1}/PKG-INFO +7 -2
- {Shapely-1.3.0 → Shapely-1.3.1}/README.rst +1 -1
- {Shapely-1.3.0 → Shapely-1.3.1/Shapely.egg-info}/PKG-INFO +7 -2
- Shapely-1.3.1/VERSION.txt +1 -0
- Shapely-1.3.1/shapely/__init__.py +1 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geos.py +19 -16
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/speedups/_speedups.c +1085 -1083
- Shapely-1.3.0/VERSION.txt +0 -1
- Shapely-1.3.0/shapely/__init__.py +0 -1
- {Shapely-1.3.0 → Shapely-1.3.1}/CREDITS.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/LICENSE.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/Shapely.egg-info/SOURCES.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/docs/manual.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/setup.cfg +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/setup.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/affinity.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/algorithms/__init__.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/algorithms/cga.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/coords.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/ctypes_declarations.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/examples/__init__.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/examples/dissolve.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/examples/geoms.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/examples/intersect.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/examples/world.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/ftools.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/base.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/collection.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/geo.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/multilinestring.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/point.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/polygon.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/impl.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/iterops.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/linref.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/ops.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/predicates.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/prepared.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/speedups/__init__.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/__init__.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/binascii_hex.txt +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_affinity.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_box.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_cga.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_collection.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_delegated.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_dlls.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_doctests.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_emptiness.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_equality.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_geointerface.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_geomseq.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_getitem.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_invalid_geometries.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_iterops.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_linear_referencing.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_linemerge.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_linestring.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_locale.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_mapping.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_multilinestring.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_multipoint.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_multipolygon.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_ndarrays.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_operations.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_operators.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_persist.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_pickle.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_point.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_polygon.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_polygonize.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_predicates.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_prepared.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_products_z.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_singularity.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_speedups.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_styles.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_transform.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_union.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_validation.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/test_xy.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/tests/threading_test.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/topology.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/validation.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/wkb.py +0 -0
- {Shapely-1.3.0 → Shapely-1.3.1}/shapely/wkt.py +0 -0
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Changes
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
1.3.1 (2014-04-22)
|
|
5
|
+
------------------
|
|
6
|
+
- More reliable proxy cleanup on exit (#106).
|
|
7
|
+
- More robust DLL loading on all platforms (#114).
|
|
8
|
+
|
|
4
9
|
1.3.0 (2013-12-31)
|
|
5
10
|
------------------
|
|
6
11
|
- Include support for Python 3.2 and 3.3 (#56), minimum version is now 2.6.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -124,7 +124,7 @@ Description: =======
|
|
|
124
124
|
Development and Testing
|
|
125
125
|
=======================
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
Dependencies for developing Shapely are listed in requirements-dev.txt. Cython
|
|
128
128
|
and Numpy are not required for production installations, only for development.
|
|
129
129
|
Use of a virtual environment is strongly recommended.::
|
|
130
130
|
|
|
@@ -212,6 +212,11 @@ Description: =======
|
|
|
212
212
|
Changes
|
|
213
213
|
=======
|
|
214
214
|
|
|
215
|
+
1.3.1 (2014-04-22)
|
|
216
|
+
------------------
|
|
217
|
+
- More reliable proxy cleanup on exit (#106).
|
|
218
|
+
- More robust DLL loading on all platforms (#114).
|
|
219
|
+
|
|
215
220
|
1.3.0 (2013-12-31)
|
|
216
221
|
------------------
|
|
217
222
|
- Include support for Python 3.2 and 3.3 (#56), minimum version is now 2.6.
|
|
@@ -116,7 +116,7 @@ after GeoJSON.
|
|
|
116
116
|
Development and Testing
|
|
117
117
|
=======================
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
Dependencies for developing Shapely are listed in requirements-dev.txt. Cython
|
|
120
120
|
and Numpy are not required for production installations, only for development.
|
|
121
121
|
Use of a virtual environment is strongly recommended.::
|
|
122
122
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -124,7 +124,7 @@ Description: =======
|
|
|
124
124
|
Development and Testing
|
|
125
125
|
=======================
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
Dependencies for developing Shapely are listed in requirements-dev.txt. Cython
|
|
128
128
|
and Numpy are not required for production installations, only for development.
|
|
129
129
|
Use of a virtual environment is strongly recommended.::
|
|
130
130
|
|
|
@@ -212,6 +212,11 @@ Description: =======
|
|
|
212
212
|
Changes
|
|
213
213
|
=======
|
|
214
214
|
|
|
215
|
+
1.3.1 (2014-04-22)
|
|
216
|
+
------------------
|
|
217
|
+
- More reliable proxy cleanup on exit (#106).
|
|
218
|
+
- More robust DLL loading on all platforms (#114).
|
|
219
|
+
|
|
215
220
|
1.3.0 (2013-12-31)
|
|
216
221
|
------------------
|
|
217
222
|
- Include support for Python 3.2 and 3.3 (#56), minimum version is now 2.6.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.3.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.3.1"
|
|
@@ -36,19 +36,22 @@ else:
|
|
|
36
36
|
def load_dll(libname, fallbacks=None):
|
|
37
37
|
lib = find_library(libname)
|
|
38
38
|
if lib is not None:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
try:
|
|
40
|
+
return CDLL(lib)
|
|
41
|
+
except OSError:
|
|
42
|
+
pass
|
|
43
|
+
if fallbacks is not None:
|
|
44
|
+
for name in fallbacks:
|
|
45
|
+
try:
|
|
46
|
+
return CDLL(name)
|
|
47
|
+
except OSError:
|
|
48
|
+
# move on to the next fallback
|
|
49
|
+
pass
|
|
50
|
+
# No shared library was loaded. Raise OSError.
|
|
51
|
+
raise OSError(
|
|
52
|
+
"Could not find library %s or load any of its variants %s" % (
|
|
53
|
+
libname, fallbacks or []))
|
|
54
|
+
|
|
52
55
|
|
|
53
56
|
if sys.platform.startswith('linux'):
|
|
54
57
|
_lgeos = load_dll('geos_c', fallbacks=['libgeos_c.so.1', 'libgeos_c.so'])
|
|
@@ -723,7 +726,7 @@ else:
|
|
|
723
726
|
|
|
724
727
|
lgeos = L(_lgeos)
|
|
725
728
|
|
|
729
|
+
def cleanup(proxy):
|
|
730
|
+
del proxy
|
|
726
731
|
|
|
727
|
-
|
|
728
|
-
def cleanup():
|
|
729
|
-
lgeos.__del__()
|
|
732
|
+
atexit.register(cleanup, lgeos)
|