add typing-extensions to ifcopenshell explicit dependencies

typing-extensions is official python package for supporting typing features on older versions.

It was kind of included in both blenderbim and to ifcopenshell as typing-extensions is also numpy dependency, included it explicitly just in case.
This commit is contained in:
Andrej730
2024-07-10 21:37:31 +05:00
parent 86fa24aba3
commit 3a6c3a8312
2 changed files with 10 additions and 1 deletions
+2
View File
@@ -171,6 +171,8 @@ endif
mkdir dist/working
cd dist/working && $(PYTHON) -m venv env
cd dist/working && mkdir site-packages
# IfcOpenShell dependency - support for new typing features
cd dist/working && . env/bin/activate && $(PIP) install typing_extensions --target=./site-packages
# Required by IfcCSV
cd dist/working && . env/bin/activate && $(PIP) install pandas $(PYPI_PLATFORM) --python-version $(PYPI_VERSION) --implementation $(PYPI_IMP) --only-binary=:all: --target=./site-packages
# Pandas ships with very heavy tests
+8 -1
View File
@@ -15,7 +15,14 @@ classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
]
dependencies = ["shapely", "numpy", "isodate", "python-dateutil", "lark"]
dependencies = [
"shapely",
"numpy",
"isodate",
"python-dateutil",
"lark",
"typing-extensions",
]
[project.optional-dependencies]
geometry = ["mathutils"]