Skip to content

Commit

Permalink
All: rip PRODMODE=2
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit128 committed Sep 2, 2024
1 parent 4db9ffa commit 3baac7a
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 54 deletions.
3 changes: 0 additions & 3 deletions Cassiopee/CPlot/install
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=CPlot --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
5 changes: 1 addition & 4 deletions Cassiopee/Compressor/install
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ if [ $PRODMODE -le 1 ]; then
if [ $PRODMODE -eq 0 ]; then # setup
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then # pip+no wheel
python -m pip install --no-cache-dir --no-binary=Compressor --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then # pip+wheel
elif [ $PRODMODE -eq 1 ]; then # pip+wheel
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
5 changes: 1 addition & 4 deletions Cassiopee/Connector/install
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ if [ $PRODMODE -le 1 ]; then
if [ $PRODMODE -eq 0 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Connector --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then # pip+wheel
elif [ $PRODMODE -eq 1 ]; then # pip+wheel
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Converter/install
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Converter --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Dist2Walls/install
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Dist2Walls --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Distributor2/install
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ if [ $PRODMODE -le 2 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Distributor2 --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Generator/install
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Generator --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Geom/install
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Geom --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Initiator/install
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Initiator --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Intersector/install
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ if [ $PRODMODE -le 1 ]; then
if [ $PRODMODE -eq 0 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Intersector --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
Expand Down
5 changes: 1 addition & 4 deletions Cassiopee/KCore/install
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ if [ $PRODMODE -le 1 ]; then
if [ $PRODMODE -eq 0 ]; then # setup
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then # pip+no wheel
python -m pip install --no-cache-dir --no-binary=KCore --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then # pip+wheel
elif [ $PRODMODE -eq 1 ]; then # pip+wheel
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/OCC/install
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=OCC --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Post/install
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Post --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/RigidMotion/install
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=RigidMotion --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Template/install
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ if [ $PRODMODE -le 0 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Template --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/Transform/install
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=Transform --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down
3 changes: 0 additions & 3 deletions Cassiopee/XCore/install
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ if [ $PRODMODE -le 1 ]; then
python setup.py install --prefix="$INSTALLPATH"
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 1 ]; then
python -m pip install --no-cache-dir --no-binary=XCore --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
elif [ $PRODMODE -eq 2 ]; then
python -m pip install --ignore-installed --upgrade --prefix="$INSTALLPATH" .
[ $? != 0 ] && exit 1;
fi
Expand Down

0 comments on commit 3baac7a

Please sign in to comment.