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.
Files changed (75) hide show
  1. {Shapely-1.2.6 → Shapely-1.2.7}/CHANGES.txt +3 -0
  2. {Shapely-1.2.6/Shapely.egg-info → Shapely-1.2.7}/PKG-INFO +1 -1
  3. {Shapely-1.2.6 → Shapely-1.2.7/Shapely.egg-info}/PKG-INFO +1 -1
  4. {Shapely-1.2.6 → Shapely-1.2.7}/setup.py +11 -4
  5. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geos.py +4 -2
  6. {Shapely-1.2.6 → Shapely-1.2.7}/CREDITS.txt +0 -0
  7. {Shapely-1.2.6 → Shapely-1.2.7}/LICENSE.txt +0 -0
  8. {Shapely-1.2.6 → Shapely-1.2.7}/README.txt +0 -0
  9. {Shapely-1.2.6 → Shapely-1.2.7}/Shapely.egg-info/SOURCES.txt +0 -0
  10. {Shapely-1.2.6 → Shapely-1.2.7}/Shapely.egg-info/dependency_links.txt +0 -0
  11. {Shapely-1.2.6 → Shapely-1.2.7}/Shapely.egg-info/top_level.txt +0 -0
  12. {Shapely-1.2.6 → Shapely-1.2.7}/docs/manual.txt +0 -0
  13. {Shapely-1.2.6 → Shapely-1.2.7}/examples/dissolve.py +0 -0
  14. {Shapely-1.2.6 → Shapely-1.2.7}/examples/intersect.py +0 -0
  15. {Shapely-1.2.6 → Shapely-1.2.7}/setup.cfg +0 -0
  16. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/__init__.py +0 -0
  17. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/coords.py +0 -0
  18. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/ctypes_declarations.py +0 -0
  19. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/__init__.py +0 -0
  20. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/base.py +0 -0
  21. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/collection.py +0 -0
  22. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/geo.py +0 -0
  23. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/linestring.py +0 -0
  24. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/multilinestring.py +0 -0
  25. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/multipoint.py +0 -0
  26. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/multipolygon.py +0 -0
  27. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/point.py +0 -0
  28. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/polygon.py +0 -0
  29. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/geometry/proxy.py +0 -0
  30. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/impl.py +0 -0
  31. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/iterops.py +0 -0
  32. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/linref.py +0 -0
  33. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/ops.py +0 -0
  34. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/predicates.py +0 -0
  35. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/prepared.py +0 -0
  36. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Array.txt +0 -0
  37. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/GeoInterface.txt +0 -0
  38. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/IterOps.txt +0 -0
  39. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/LineString.txt +0 -0
  40. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/MultiLineString.txt +0 -0
  41. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/MultiPoint.txt +0 -0
  42. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/MultiPolygon.txt +0 -0
  43. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Operations.txt +0 -0
  44. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Persist.txt +0 -0
  45. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Point.txt +0 -0
  46. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Polygon.txt +0 -0
  47. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/Predicates.txt +0 -0
  48. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/__init__.py +0 -0
  49. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/attribute-chains.txt +0 -0
  50. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/binascii_hex.txt +0 -0
  51. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/cascaded_union.txt +0 -0
  52. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/dimensions.txt +0 -0
  53. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/invalid_intersection.txt +0 -0
  54. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/linemerge.txt +0 -0
  55. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/polygonize.txt +0 -0
  56. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_collection.py +0 -0
  57. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_delegated.py +0 -0
  58. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_dlls.py +0 -0
  59. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_doctests.py +0 -0
  60. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_emptiness.py +0 -0
  61. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_equality.py +0 -0
  62. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_geomseq.py +0 -0
  63. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_linear_referencing.py +0 -0
  64. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_mapping.py +0 -0
  65. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_prepared.py +0 -0
  66. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_products_z.py +0 -0
  67. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_singularity.py +0 -0
  68. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_validation.py +0 -0
  69. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/test_xy.py +0 -0
  70. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/threading_test.py +0 -0
  71. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/tests/wkt_locale.txt +0 -0
  72. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/topology.py +0 -0
  73. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/validation.py +0 -0
  74. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/wkb.py +0 -0
  75. {Shapely-1.2.6 → Shapely-1.2.7}/shapely/wkt.py +0 -0
@@ -1,3 +1,6 @@
1
+ 1.2.7 (2010-11-05)
2
+ ------------------
3
+ - Support for Windows eggs.
1
4
 
2
5
  1.2.6 (2010-10-21)
3
6
  ------------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: Shapely
3
- Version: 1.2.6
3
+ Version: 1.2.7
4
4
  Summary: Geometric objects, predicates, and operations
5
5
  Home-page: http://trac.gispython.org/lab/wiki/Shapely
6
6
  Author: Sean Gillies
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: Shapely
3
- Version: 1.2.6
3
+ Version: 1.2.7
4
4
  Summary: Geometric objects, predicates, and operations
5
5
  Home-page: http://trac.gispython.org/lab/wiki/Shapely
6
6
  Author: Sean Gillies
@@ -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.6',
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
- setup_args.update(
48
- data_files=[('DLLs', ['DLLs/geos.dll', 'DLLs/libgeos-3-0-0.dll']),]
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
- local_dlls = os.path.abspath(os.__file__ + "../../../DLLs")
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" % (local_dlls, original_path)
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