Fix #4837. Make mathutils dependency optional.

In the long term, I'd like to replace mathutils with numpy.
This commit is contained in:
Dion Moult
2024-06-15 15:10:36 +10:00
parent a23e6dcd66
commit 1db26aab15
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -15,7 +15,11 @@ classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
]
dependencies = ["mathutils", "shapely", "numpy", "isodate", "python-dateutil", "lark"]
dependencies = ["shapely", "numpy", "isodate", "python-dateutil", "lark"]
[project.optional-dependencies]
geometry = ["mathutils"]
dev = ["pytest"]
[project.urls]
"Homepage" = "http://ifcopenshell.org"