- 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:
Marius Stanciu
2023-04-15 21:03:30 +03:00
parent 6f93734d3f
commit ccc71eabc2
64 changed files with 74 additions and 65 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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