pack ifcjson to wheel

This commit is contained in:
Andrej730
2024-07-17 16:14:03 +05:00
committed by Dion Moult
parent 9ed286660e
commit 49555eb81e
+11 -1
View File
@@ -265,7 +265,17 @@ endif
mkdir dist/working
cd dist/working && wget https://github.com/IFCJSON-Team/IFC2JSON_python/archive/master.zip
cd dist/working && unzip master.zip
cp -r dist/working/IFC2JSON_python-master/file_converters/ifcjson dist/blenderbim/libs/site/packages/
# IFCJSON doesn't have pyrproject.toml, so we use python command.
cd dist/working/IFC2JSON_python-master/file_converters/ifcjson && \
$(PYTHON) -c "from setuptools import setup, find_packages; \
setup( \
name='ifcjson', \
version='0.0.0', \
author='Jan Brouwer', \
author_email='jan@brewsky.nl', \
packages=find_packages(include=['ifcjson*']), \
)" bdist_wheel
cp -r dist/working/IFC2JSON_python-master/file_converters/ifcjson/dist/*.whl dist/blenderbim/wheels/
rm -rf dist/working
# Provides Brickschema functionality