Skip to content

Commit

Permalink
Merge pull request #111 from buildingSMART/fix/update_makefile
Browse files Browse the repository at this point in the history
Update Makefile to include macos specific target
  • Loading branch information
rw-bsi authored Nov 1, 2024
2 parents 88b66a8 + c8f1acc commit 4d35d69
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ install: venv
unzip -f -d $(VIRTUAL_ENV)/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip && \
rm /tmp/ifcopenshell_python.zip

install-macos: venv
. $(VIRTUAL_ENV)/bin/activate && \
pip install --upgrade pip && \
pip install -r requirements.txt && \
wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-macos64.zip" && \
mkdir -p $(VIRTUAL_ENV)/lib/python3.11/site-packages && \
unzip /tmp/ifcopenshell_python.zip -d .dev/venv/lib/python3.11/site-packages && \
rm /tmp/ifcopenshell_python.zip

fetch-modules:
cd ./apps && \
git submodule update --init --recursive
Expand Down

0 comments on commit 4d35d69

Please sign in to comment.