First Commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
"""Manipulation and analysis of geometric objects in the Cartesian plane."""
|
||||
|
||||
|
||||
# start delvewheel patch
|
||||
def _delvewheel_patch_1_11_1():
|
||||
import os
|
||||
if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'shapely.libs'))):
|
||||
os.add_dll_directory(libs_dir)
|
||||
|
||||
|
||||
_delvewheel_patch_1_11_1()
|
||||
del _delvewheel_patch_1_11_1
|
||||
# end delvewheel patch
|
||||
|
||||
from shapely.lib import GEOSException
|
||||
from shapely.lib import Geometry
|
||||
from shapely.lib import geos_version, geos_version_string
|
||||
from shapely.lib import geos_capi_version, geos_capi_version_string
|
||||
from shapely.errors import setup_signal_checks
|
||||
from shapely._geometry import *
|
||||
from shapely.creation import *
|
||||
from shapely.constructive import *
|
||||
from shapely.predicates import *
|
||||
from shapely.measurement import *
|
||||
from shapely.set_operations import *
|
||||
from shapely.linear import *
|
||||
from shapely.coordinates import *
|
||||
from shapely.strtree import *
|
||||
from shapely.io import *
|
||||
from shapely._coverage import *
|
||||
|
||||
# Submodule always needs to be imported to ensure Geometry subclasses are registered
|
||||
from shapely.geometry import (
|
||||
Point,
|
||||
LineString,
|
||||
Polygon,
|
||||
MultiPoint,
|
||||
MultiLineString,
|
||||
MultiPolygon,
|
||||
GeometryCollection,
|
||||
LinearRing,
|
||||
)
|
||||
|
||||
from shapely import _version
|
||||
|
||||
__version__ = _version.get_versions()["version"]
|
||||
|
||||
setup_signal_checks()
|
||||
Reference in New Issue
Block a user