Skip to content

Commit

Permalink
Add new dependency for python to enable auto-stubgen (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul authored Jan 8, 2025
1 parent ce34481 commit 377ac14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docker/sofabuilder_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.10 /tmp/get-pip3.py \
&& python3.10 -m pip install --upgrade pip \
&& python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.11 /tmp/get-pip3.py \
&& python3.11 -m pip install --upgrade pip \
&& python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.12 /tmp/get-pip3.py \
&& python3.12 -m pip install --upgrade pip \
&& python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen
ENV VM_HAS_ASSIMP="true"
ENV VM_HAS_OPENCASCADE="true"

Expand Down
2 changes: 1 addition & 1 deletion setup/setup-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ brew unlink [email protected] || true
brew unlink [email protected] || true
brew link --force [email protected]
python3 -m pip install --upgrade pip
python3 -m pip install numpy scipy pygame
python3 -m pip install numpy scipy pygame mypy pybind11-stubgen
brew install pybind11

echo "--------------------------------------------"
Expand Down
6 changes: 3 additions & 3 deletions setup/setup-windows_2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ pathed /MACHINE /REMOVE C:\Python311\
pathed /MACHINE /REMOVE C:\Python312\Scripts\
pathed /MACHINE /REMOVE C:\Python312\
C:\Python310\python.exe -m pip install --upgrade pip
C:\Python310\python.exe -m pip install numpy scipy pybind11==2.9.1 matplotlib
C:\Python310\python.exe -m pip install numpy scipy pybind11==2.9.1 matplotlib mypy pybind11-stubgen
C:\Python311\python.exe -m pip install --upgrade pip
C:\Python311\python.exe -m pip install numpy scipy pybind11==2.9.1 matplotlib
C:\Python311\python.exe -m pip install numpy scipy pybind11==2.9.1 matplotlib mypy pybind11-stubgen
C:\Python312\python.exe -m pip install --upgrade pip
C:\Python312\python.exe -m pip install numpy scipy pybind11==2.9.1 matplotlib
C:\Python312\python.exe -m pip install numpy scipy pybind11==2.9.1 matplotlib mypy pybind11-stubgen


REM Install plugins dependencies
Expand Down

0 comments on commit 377ac14

Please sign in to comment.