shapely 1.6b3__tar.gz → 1.6b5__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.
Files changed (140) hide show
  1. {Shapely-1.6b3 → Shapely-1.6b5}/CHANGES.txt +16 -0
  2. {Shapely-1.6b3/Shapely.egg-info → Shapely-1.6b5}/PKG-INFO +22 -6
  3. {Shapely-1.6b3 → Shapely-1.6b5}/README.rst +5 -5
  4. {Shapely-1.6b3 → Shapely-1.6b5/Shapely.egg-info}/PKG-INFO +22 -6
  5. {Shapely-1.6b3 → Shapely-1.6b5}/Shapely.egg-info/SOURCES.txt +10 -16
  6. {Shapely-1.6b3 → Shapely-1.6b5}/Shapely.egg-info/requires.txt +1 -3
  7. Shapely-1.6b5/VERSION.txt +1 -0
  8. {Shapely-1.6b3 → Shapely-1.6b5}/setup.cfg +4 -1
  9. {Shapely-1.6b3 → Shapely-1.6b5}/setup.py +2 -2
  10. Shapely-1.6b5/shapely/__init__.py +1 -0
  11. Shapely-1.6b5/shapely/algorithms/__init__.py +0 -0
  12. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/linestring.py +2 -0
  13. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/ops.py +2 -2
  14. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/speedups/_speedups.c +341 -165
  15. {Shapely-1.6b3 → Shapely-1.6b5}/tests/conftest.py +2 -2
  16. Shapely-1.6b3/VERSION.txt +0 -1
  17. Shapely-1.6b3/packaging-15.3.dist-info/DESCRIPTION.rst +0 -121
  18. Shapely-1.6b3/packaging-15.3.dist-info/METADATA +0 -141
  19. Shapely-1.6b3/packaging-15.3.dist-info/RECORD +0 -13
  20. Shapely-1.6b3/packaging-15.3.dist-info/WHEEL +0 -6
  21. Shapely-1.6b3/packaging-15.3.dist-info/metadata.json +0 -1
  22. Shapely-1.6b3/packaging-15.3.dist-info/pbr.json +0 -1
  23. Shapely-1.6b3/packaging-15.3.dist-info/top_level.txt +0 -1
  24. Shapely-1.6b3/shapely/__init__.py +0 -1
  25. {Shapely-1.6b3 → Shapely-1.6b5}/CREDITS.txt +0 -0
  26. {Shapely-1.6b3 → Shapely-1.6b5}/LICENSE.txt +0 -0
  27. {Shapely-1.6b3 → Shapely-1.6b5}/Shapely.egg-info/dependency_links.txt +0 -0
  28. {Shapely-1.6b3 → Shapely-1.6b5}/Shapely.egg-info/top_level.txt +0 -0
  29. {Shapely-1.6b3/shapely/algorithms → Shapely-1.6b5/_vendor}/__init__.py +0 -0
  30. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/__about__.py +0 -0
  31. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/__init__.py +0 -0
  32. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/_compat.py +0 -0
  33. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/_structures.py +0 -0
  34. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/markers.py +0 -0
  35. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/requirements.py +0 -0
  36. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/specifiers.py +0 -0
  37. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/utils.py +0 -0
  38. {Shapely-1.6b3 → Shapely-1.6b5/_vendor}/packaging/version.py +0 -0
  39. {Shapely-1.6b3 → Shapely-1.6b5}/docs/design.rst +0 -0
  40. {Shapely-1.6b3 → Shapely-1.6b5}/docs/index.rst +0 -0
  41. {Shapely-1.6b3 → Shapely-1.6b5}/docs/manual.rst +0 -0
  42. {Shapely-1.6b3 → Shapely-1.6b5}/docs/project.rst +0 -0
  43. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/_buildcfg.py +0 -0
  44. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/_geos.pxi +0 -0
  45. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/affinity.py +0 -0
  46. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/algorithms/cga.py +0 -0
  47. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/algorithms/polylabel.py +0 -0
  48. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/coords.py +0 -0
  49. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/ctypes_declarations.py +0 -0
  50. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/errors.py +0 -0
  51. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/examples/__init__.py +0 -0
  52. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/examples/dissolve.py +0 -0
  53. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/examples/geoms.py +0 -0
  54. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/examples/intersect.py +0 -0
  55. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/ftools.py +0 -0
  56. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/__init__.py +0 -0
  57. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/base.py +0 -0
  58. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/collection.py +0 -0
  59. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/geo.py +0 -0
  60. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/multilinestring.py +0 -0
  61. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/multipoint.py +0 -0
  62. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/multipolygon.py +0 -0
  63. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/point.py +0 -0
  64. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/polygon.py +0 -0
  65. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geometry/proxy.py +0 -0
  66. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/geos.py +0 -0
  67. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/impl.py +0 -0
  68. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/iterops.py +0 -0
  69. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/linref.py +0 -0
  70. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/predicates.py +0 -0
  71. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/prepared.py +0 -0
  72. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/speedups/__init__.py +0 -0
  73. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/speedups/_speedups.pyx +0 -0
  74. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/strtree.py +0 -0
  75. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/topology.py +0 -0
  76. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/validation.py +0 -0
  77. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/vectorized/__init__.py +0 -0
  78. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/vectorized/_vectorized.pyx +0 -0
  79. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/wkb.py +0 -0
  80. {Shapely-1.6b3 → Shapely-1.6b5}/shapely/wkt.py +0 -0
  81. {Shapely-1.6b3 → Shapely-1.6b5}/tests/__init__.py +0 -0
  82. {Shapely-1.6b3 → Shapely-1.6b5}/tests/binascii_hex.txt +0 -0
  83. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_affinity.py +0 -0
  84. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_box.py +0 -0
  85. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_cga.py +0 -0
  86. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_collection.py +0 -0
  87. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_coords.py +0 -0
  88. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_default_impl.py +0 -0
  89. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_delaunay.py +0 -0
  90. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_delegated.py +0 -0
  91. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_dlls.py +0 -0
  92. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_doctests.py +0 -0
  93. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_emptiness.py +0 -0
  94. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_empty_polygons.py +0 -0
  95. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_equality.py +0 -0
  96. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_geointerface.py +0 -0
  97. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_geomseq.py +0 -0
  98. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_geos_err_handler.py +0 -0
  99. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_getitem.py +0 -0
  100. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_hash.py +0 -0
  101. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_invalid_geometries.py +0 -0
  102. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_iterops.py +0 -0
  103. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_linear_referencing.py +0 -0
  104. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_linemerge.py +0 -0
  105. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_linestring.py +0 -0
  106. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_locale.py +0 -0
  107. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_mapping.py +0 -0
  108. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_minimum_rotated_rectangle.py +0 -0
  109. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_multi.py +0 -0
  110. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_multilinestring.py +0 -0
  111. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_multipoint.py +0 -0
  112. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_multipolygon.py +0 -0
  113. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_ndarrays.py +0 -0
  114. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_nearest.py +0 -0
  115. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_operations.py +0 -0
  116. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_operators.py +0 -0
  117. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_parallel_offset.py +0 -0
  118. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_persist.py +0 -0
  119. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_pickle.py +0 -0
  120. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_point.py +0 -0
  121. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_polygon.py +0 -0
  122. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_polygonize.py +0 -0
  123. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_polylabel.py +0 -0
  124. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_predicates.py +0 -0
  125. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_prepared.py +0 -0
  126. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_products_z.py +0 -0
  127. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_shared_paths.py +0 -0
  128. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_singularity.py +0 -0
  129. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_snap.py +0 -0
  130. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_split.py +0 -0
  131. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_strtree.py +0 -0
  132. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_styles.py +0 -0
  133. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_svg.py +0 -0
  134. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_transform.py +0 -0
  135. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_union.py +0 -0
  136. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_validation.py +0 -0
  137. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_vectorized.py +0 -0
  138. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_wkt.py +0 -0
  139. {Shapely-1.6b3 → Shapely-1.6b5}/tests/test_xy.py +0 -0
  140. {Shapely-1.6b3 → Shapely-1.6b5}/tests/threading_test.py +0 -0
@@ -1,6 +1,22 @@
1
1
  Changes
2
2
  =======
3
3
 
4
+ 1.6b5 (2017-08-18)
5
+ ------------------
6
+
7
+ Bug fixes:
8
+
9
+ - Passing a single coordinate to ``LineString()`` with speedups disabled now
10
+ raises a ValueError as happens with speedups enabled. This resolves #509.
11
+
12
+ 1.6b4 (2017-02-15)
13
+ ------------------
14
+
15
+ Bug fixes:
16
+
17
+ - Isolate vendorized packaging in a _vendor directory, remove obsolete
18
+ dist-info, and remove packaging from project requirements (resolves #468).
19
+
4
20
  1.6b3 (2016-12-31)
5
21
  ------------------
6
22
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: Shapely
3
- Version: 1.6b3
3
+ Version: 1.6b5
4
4
  Summary: Geometric objects, predicates, and operations
5
5
  Home-page: https://github.com/Toblerity/Shapely
6
6
  Author: Sean Gillies
@@ -41,7 +41,7 @@ Description: =======
41
41
  * Python >=2.6 (including Python 3.x)
42
42
  * GEOS >=3.3
43
43
 
44
- Installing Shapely (1.6b2)
44
+ Installing Shapely (1.6b5)
45
45
  ==========================
46
46
 
47
47
  Windows users have two good installation options: the wheels at
@@ -54,13 +54,13 @@ Description: =======
54
54
 
55
55
  .. code-block:: console
56
56
 
57
- $ pip install shapely==1.6b2
57
+ $ pip install shapely==1.6b5
58
58
 
59
59
  A few extra speedups that require Numpy can be had by running
60
60
 
61
61
  .. code-block:: console
62
62
 
63
- $ pip install shapely[vectorized]==1.6b2
63
+ $ pip install shapely[vectorized]==1.6b5
64
64
 
65
65
  If you want to build Shapely from source for compatibility with
66
66
  other modules that depend on GEOS (such as cartopy or osgeo.ogr)
@@ -71,8 +71,8 @@ Description: =======
71
71
  $ pip install shapely --no-binary shapely
72
72
 
73
73
  Binary wheels are also available for Linux. To get them, use `pip shapely
74
- shapely==1.6b2`. To avoid them, use `pip install shapely --no-binary
75
- shapely==1.6b2`.
74
+ shapely==1.6b5`. To avoid them, use `pip install shapely --no-binary
75
+ shapely==1.6b5`.
76
76
 
77
77
  In other situations, install `geos_c` libs and headers by any means
78
78
  (for example, `brew install geos` on OS X or
@@ -239,6 +239,22 @@ Description: =======
239
239
  Changes
240
240
  =======
241
241
 
242
+ 1.6b5 (2017-08-18)
243
+ ------------------
244
+
245
+ Bug fixes:
246
+
247
+ - Passing a single coordinate to ``LineString()`` with speedups disabled now
248
+ raises a ValueError as happens with speedups enabled. This resolves #509.
249
+
250
+ 1.6b4 (2017-02-15)
251
+ ------------------
252
+
253
+ Bug fixes:
254
+
255
+ - Isolate vendorized packaging in a _vendor directory, remove obsolete
256
+ dist-info, and remove packaging from project requirements (resolves #468).
257
+
242
258
  1.6b3 (2016-12-31)
243
259
  ------------------
244
260
 
@@ -33,7 +33,7 @@ Shapely 1.6.x requires
33
33
  * Python >=2.6 (including Python 3.x)
34
34
  * GEOS >=3.3
35
35
 
36
- Installing Shapely (1.6b2)
36
+ Installing Shapely (1.6b5)
37
37
  ==========================
38
38
 
39
39
  Windows users have two good installation options: the wheels at
@@ -46,13 +46,13 @@ Python Package Index with a recent version of pip (8+):
46
46
 
47
47
  .. code-block:: console
48
48
 
49
- $ pip install shapely==1.6b2
49
+ $ pip install shapely==1.6b5
50
50
 
51
51
  A few extra speedups that require Numpy can be had by running
52
52
 
53
53
  .. code-block:: console
54
54
 
55
- $ pip install shapely[vectorized]==1.6b2
55
+ $ pip install shapely[vectorized]==1.6b5
56
56
 
57
57
  If you want to build Shapely from source for compatibility with
58
58
  other modules that depend on GEOS (such as cartopy or osgeo.ogr)
@@ -63,8 +63,8 @@ you may ignore the binary wheels.
63
63
  $ pip install shapely --no-binary shapely
64
64
 
65
65
  Binary wheels are also available for Linux. To get them, use `pip shapely
66
- shapely==1.6b2`. To avoid them, use `pip install shapely --no-binary
67
- shapely==1.6b2`.
66
+ shapely==1.6b5`. To avoid them, use `pip install shapely --no-binary
67
+ shapely==1.6b5`.
68
68
 
69
69
  In other situations, install `geos_c` libs and headers by any means
70
70
  (for example, `brew install geos` on OS X or
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: Shapely
3
- Version: 1.6b3
3
+ Version: 1.6b5
4
4
  Summary: Geometric objects, predicates, and operations
5
5
  Home-page: https://github.com/Toblerity/Shapely
6
6
  Author: Sean Gillies
@@ -41,7 +41,7 @@ Description: =======
41
41
  * Python >=2.6 (including Python 3.x)
42
42
  * GEOS >=3.3
43
43
 
44
- Installing Shapely (1.6b2)
44
+ Installing Shapely (1.6b5)
45
45
  ==========================
46
46
 
47
47
  Windows users have two good installation options: the wheels at
@@ -54,13 +54,13 @@ Description: =======
54
54
 
55
55
  .. code-block:: console
56
56
 
57
- $ pip install shapely==1.6b2
57
+ $ pip install shapely==1.6b5
58
58
 
59
59
  A few extra speedups that require Numpy can be had by running
60
60
 
61
61
  .. code-block:: console
62
62
 
63
- $ pip install shapely[vectorized]==1.6b2
63
+ $ pip install shapely[vectorized]==1.6b5
64
64
 
65
65
  If you want to build Shapely from source for compatibility with
66
66
  other modules that depend on GEOS (such as cartopy or osgeo.ogr)
@@ -71,8 +71,8 @@ Description: =======
71
71
  $ pip install shapely --no-binary shapely
72
72
 
73
73
  Binary wheels are also available for Linux. To get them, use `pip shapely
74
- shapely==1.6b2`. To avoid them, use `pip install shapely --no-binary
75
- shapely==1.6b2`.
74
+ shapely==1.6b5`. To avoid them, use `pip install shapely --no-binary
75
+ shapely==1.6b5`.
76
76
 
77
77
  In other situations, install `geos_c` libs and headers by any means
78
78
  (for example, `brew install geos` on OS X or
@@ -239,6 +239,22 @@ Description: =======
239
239
  Changes
240
240
  =======
241
241
 
242
+ 1.6b5 (2017-08-18)
243
+ ------------------
244
+
245
+ Bug fixes:
246
+
247
+ - Passing a single coordinate to ``LineString()`` with speedups disabled now
248
+ raises a ValueError as happens with speedups enabled. This resolves #509.
249
+
250
+ 1.6b4 (2017-02-15)
251
+ ------------------
252
+
253
+ Bug fixes:
254
+
255
+ - Isolate vendorized packaging in a _vendor directory, remove obsolete
256
+ dist-info, and remove packaging from project requirements (resolves #468).
257
+
242
258
  1.6b3 (2016-12-31)
243
259
  ------------------
244
260
 
@@ -10,26 +10,20 @@ Shapely.egg-info/SOURCES.txt
10
10
  Shapely.egg-info/dependency_links.txt
11
11
  Shapely.egg-info/requires.txt
12
12
  Shapely.egg-info/top_level.txt
13
+ _vendor/__init__.py
14
+ _vendor/packaging/__about__.py
15
+ _vendor/packaging/__init__.py
16
+ _vendor/packaging/_compat.py
17
+ _vendor/packaging/_structures.py
18
+ _vendor/packaging/markers.py
19
+ _vendor/packaging/requirements.py
20
+ _vendor/packaging/specifiers.py
21
+ _vendor/packaging/utils.py
22
+ _vendor/packaging/version.py
13
23
  docs/design.rst
14
24
  docs/index.rst
15
25
  docs/manual.rst
16
26
  docs/project.rst
17
- packaging/__about__.py
18
- packaging/__init__.py
19
- packaging/_compat.py
20
- packaging/_structures.py
21
- packaging/markers.py
22
- packaging/requirements.py
23
- packaging/specifiers.py
24
- packaging/utils.py
25
- packaging/version.py
26
- packaging-15.3.dist-info/DESCRIPTION.rst
27
- packaging-15.3.dist-info/METADATA
28
- packaging-15.3.dist-info/RECORD
29
- packaging-15.3.dist-info/WHEEL
30
- packaging-15.3.dist-info/metadata.json
31
- packaging-15.3.dist-info/pbr.json
32
- packaging-15.3.dist-info/top_level.txt
33
27
  shapely/__init__.py
34
28
  shapely/_buildcfg.py
35
29
  shapely/_geos.pxi
@@ -1,14 +1,12 @@
1
1
 
2
2
  [all]
3
- numpy
4
3
  pytest
5
4
  pytest-cov
6
- packaging
5
+ numpy
7
6
 
8
7
  [test]
9
8
  pytest
10
9
  pytest-cov
11
- packaging
12
10
 
13
11
  [vectorized]
14
12
  numpy
@@ -0,0 +1 @@
1
+ 1.6b5
@@ -1,8 +1,11 @@
1
1
  [tool:pytest]
2
2
  testpaths = tests
3
+ addopts = --ignore _vendor
4
+
5
+ [bdist_wheel]
6
+ universal = 1
3
7
 
4
8
  [egg_info]
5
9
  tag_build =
6
10
  tag_date = 0
7
- tag_svn_revision = 0
8
11
 
@@ -73,7 +73,7 @@ except ImportError:
73
73
  from distutils.errors import CCompilerError, DistutilsExecError, \
74
74
  DistutilsPlatformError
75
75
 
76
- from packaging.version import Version
76
+ from _vendor.packaging.version import Version
77
77
 
78
78
  # Get geos_version from GEOS dynamic library, which depends on
79
79
  # GEOS_LIBRARY_PATH and/or GEOS_CONFIG environment variables
@@ -178,7 +178,7 @@ with open('CHANGES.txt', 'r', **open_kwds) as fp:
178
178
  long_description = readme + '\n\n' + credits + '\n\n' + changes
179
179
 
180
180
  extra_reqs = {
181
- 'test': ['pytest', 'pytest-cov', 'packaging'],
181
+ 'test': ['pytest', 'pytest-cov'],
182
182
  'vectorized': ['numpy']}
183
183
 
184
184
  extra_reqs['all'] = list(it.chain.from_iterable(extra_reqs.values()))
@@ -0,0 +1 @@
1
+ __version__ = "1.6b5"
File without changes
@@ -210,6 +210,8 @@ def geos_linestring_from_py(ob, update_geom=None, update_ndim=0):
210
210
 
211
211
  if m == 0:
212
212
  return None
213
+ elif m == 1:
214
+ raise ValueError("LineStrings must have at least 2 coordinate tuples")
213
215
 
214
216
  def _coords(o):
215
217
  if isinstance(o, Point):
@@ -406,11 +406,11 @@ class SplitOp(object):
406
406
 
407
407
  assert(isinstance(line, LineString))
408
408
  assert(isinstance(splitter, MultiPoint))
409
-
409
+
410
410
  chunks = [line]
411
411
  for pt in splitter.geoms:
412
412
  new_chunks = []
413
- for chunk in chunks:
413
+ for chunk in filter(lambda x: not x.is_empty, chunks):
414
414
  # add the newly split 2 lines or the same line if not split
415
415
  new_chunks.extend(SplitOp._split_line_with_point(chunk, pt))
416
416
  chunks = new_chunks