Skip to content

Commit

Permalink
remove obsolete checks for MACOSX_DEPLOYMENT_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Wittgen authored and Matthias Wittgen committed Nov 6, 2021
1 parent 965bb5f commit fd8343f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ups/eupspkg.cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ if [[ "$CONDA_BUILD" == "1" ]]; then
export EIGEN_INCLUDE=$PREFIX/include/eigen3
fi

if [ -z "$MACOSX_DEPLOYMENT_TARGET" ]; then
MIN_DEPLOYMENT_TARGET=9
CFG_DEPLOYMENT_TARGET=$(python -c "import sysconfig; print((sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') or '10.$MIN_DEPLOYMENT_TARGET').split('.')[1])")
export MACOSX_DEPLOYMENT_TARGET=10.$((MIN_DEPLOYMENT_TARGET>CFG_DEPLOYMENT_TARGET?MIN_DEPLOYMENT_TARGET:CFG_DEPLOYMENT_TARGET))
fi

install() {
PYDEST="$PREFIX/lib/python"
PYTHONPATH="$PYDEST:$PYTHONPATH" \
Expand Down

0 comments on commit fd8343f

Please sign in to comment.