mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 01:51:01 +00:00
pack ifcjson to wheel
This commit is contained in:
+11
-1
@@ -265,7 +265,17 @@ endif
|
|||||||
mkdir dist/working
|
mkdir dist/working
|
||||||
cd dist/working && wget https://github.com/IFCJSON-Team/IFC2JSON_python/archive/master.zip
|
cd dist/working && wget https://github.com/IFCJSON-Team/IFC2JSON_python/archive/master.zip
|
||||||
cd dist/working && unzip 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
|
rm -rf dist/working
|
||||||
|
|
||||||
# Provides Brickschema functionality
|
# Provides Brickschema functionality
|
||||||
|
|||||||
Reference in New Issue
Block a user