shapely 1.2.6__tar.gz → 1.2.7__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.2.6 → Shapely-1.2.7}/CHANGES.txt +3 -0
- {Shapely-1.2.6/Shapely.egg-info → Shapely-1.2.7}/PKG-INFO +1 -1
- {Shapely-1.2.6 → Shapely-1.2.7/Shapely.egg-info}/PKG-INFO +1 -1
- {Shapely-1.2.6 → Shapely-1.2.7}/setup.py +11 -4
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geos.py +4 -2
- {Shapely-1.2.6 → Shapely-1.2.7}/CREDITS.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/LICENSE.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/README.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/Shapely.egg-info/SOURCES.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/docs/manual.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/examples/dissolve.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/examples/intersect.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/setup.cfg +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/__init__.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/coords.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/ctypes_declarations.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/base.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/collection.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/geo.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/multilinestring.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/point.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/polygon.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/impl.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/iterops.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/linref.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/ops.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/predicates.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/prepared.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Array.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/GeoInterface.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/IterOps.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/LineString.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/MultiLineString.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/MultiPoint.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/MultiPolygon.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Operations.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Persist.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Point.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Polygon.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Predicates.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/__init__.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/attribute-chains.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/binascii_hex.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/cascaded_union.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/dimensions.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/invalid_intersection.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/linemerge.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/polygonize.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_collection.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_delegated.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_dlls.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_doctests.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_emptiness.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_equality.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_geomseq.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_linear_referencing.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_mapping.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_prepared.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_products_z.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_singularity.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_validation.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_xy.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/threading_test.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/wkt_locale.txt +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/topology.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/validation.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/wkb.py +0 -0
- {Shapely-1.2.6 → Shapely-1.2.7}/shapely/wkt.py +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import glob
|
|
1
2
|
import warnings
|
|
2
3
|
|
|
3
4
|
try:
|
|
@@ -16,7 +17,7 @@ readme_text = file('README.txt', 'rb').read()
|
|
|
16
17
|
setup_args = dict(
|
|
17
18
|
metadata_version = '1.2',
|
|
18
19
|
name = 'Shapely',
|
|
19
|
-
version = '1.2.
|
|
20
|
+
version = '1.2.7',
|
|
20
21
|
requires_python = '>=2.5,<3',
|
|
21
22
|
requires_external = 'libgeos_c (>=3.1)',
|
|
22
23
|
description = 'Geometric objects, predicates, and operations',
|
|
@@ -44,8 +45,14 @@ setup_args = dict(
|
|
|
44
45
|
|
|
45
46
|
# Add DLLs for Windows
|
|
46
47
|
if sys.platform == 'win32':
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
import glob
|
|
49
|
+
if '(AMD64)' in sys.version:
|
|
50
|
+
setup_args.update(
|
|
51
|
+
data_files=[('DLLs', glob.glob('DLLs_AMD64/*.dll'))]
|
|
52
|
+
)
|
|
53
|
+
else:
|
|
54
|
+
setup_args.update(
|
|
55
|
+
data_files=[('DLLs', glob.glob('DLLs_x86/*.dll'))]
|
|
56
|
+
)
|
|
50
57
|
|
|
51
58
|
setup(**setup_args)
|
|
@@ -62,9 +62,11 @@ elif sys.platform == 'darwin':
|
|
|
62
62
|
|
|
63
63
|
elif sys.platform == 'win32':
|
|
64
64
|
try:
|
|
65
|
-
|
|
65
|
+
egg_dlls = os.path.abspath(os.path.join(os.path.dirname(__file__),
|
|
66
|
+
r"..\DLLs"))
|
|
67
|
+
wininst_dlls = os.path.abspath(os.__file__ + "../../../DLLs")
|
|
66
68
|
original_path = os.environ['PATH']
|
|
67
|
-
os.environ['PATH'] = "%s;%s" % (
|
|
69
|
+
os.environ['PATH'] = "%s;%s;%s" % (egg_dlls, wininst_dlls, original_path)
|
|
68
70
|
_lgeos = CDLL("geos.dll")
|
|
69
71
|
except (ImportError, WindowsError, OSError):
|
|
70
72
|
raise
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|