- changed the shapely imports a bit according to the specifications of Shapely 2.0
- changed the requirements.txt file to reflect the need for at least Shapely in version 2.0
This commit is contained in:
@@ -3,7 +3,7 @@ from PyQt6 import QtWidgets
|
||||
from appTool import AppToolEditor
|
||||
from appGUI.GUIElements import VerticalScrollArea, FCLabel, FCButton, FCFrame, GLay, FCDoubleSpinner, FCComboBox
|
||||
|
||||
from shapely.geometry import Polygon
|
||||
from shapely import Polygon
|
||||
|
||||
import gettext
|
||||
import appTranslation as fcTranslate
|
||||
|
||||
@@ -3,7 +3,7 @@ from PyQt6 import QtWidgets, QtGui
|
||||
from appTool import AppToolEditor
|
||||
from appGUI.GUIElements import VerticalScrollArea, FCLabel, FCButton, FCFrame, GLay, FCDoubleSpinner
|
||||
|
||||
from shapely.geometry import Point
|
||||
from shapely import Point
|
||||
from shapely.affinity import scale, rotate
|
||||
|
||||
import gettext
|
||||
|
||||
@@ -5,7 +5,7 @@ from appGUI.GUIElements import VerticalScrollArea, FCLabel, FCFrame, FCButton, G
|
||||
FCCheckBox
|
||||
from camlib import Geometry
|
||||
|
||||
from shapely.geometry import Polygon
|
||||
from shapely import Polygon
|
||||
from shapely.ops import unary_union
|
||||
|
||||
import gettext
|
||||
|
||||
@@ -4,7 +4,8 @@ from appTool import AppToolEditor
|
||||
from appGUI.GUIElements import VerticalScrollArea, FCLabel, FCButton, GLay, FCFrame, FCDoubleSpinner, RadioSetCross, \
|
||||
RadioSet, NumericalEvalEntry
|
||||
|
||||
from shapely.geometry import box, base
|
||||
from shapely import box
|
||||
from shapely.geometry import base
|
||||
|
||||
import gettext
|
||||
import appTranslation as fcTranslate
|
||||
|
||||
Reference in New Issue
Block a user