Skip to content

Commit 911e0e5

Browse files
committed
Do not create an app on OSX
1 parent 7a48177 commit 911e0e5

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

ci/conda_recipe/psyplot-gui/build.sh

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,6 @@
22

33
$PYTHON setup.py install --single-version-externally-managed --record record.txt
44

5-
BIN=$PREFIX/bin
5+
# delete the Psyplot.app. This should not be included in the conda-forge package
6+
rm -rf psyplot_gui/app/Psyplot.app
67

7-
if [[ `uname` == Darwin ]]; then
8-
mv psyplot_gui/app/Psyplot.app $PREFIX/psyplotapp
9-
sed -i "s/0.01/$PKG_VERSION/" $PREFIX/psyplotapp/Contents/Info.plist
10-
11-
AE=$PREFIX/psyplotapp/Contents/MacOS/run.sh
12-
13-
chmod +x $AE
14-
15-
POST_LINK=$BIN/.psyplot-gui-post-link.sh
16-
PRE_UNLINK=$BIN/.psyplot-gui-pre-unlink.sh
17-
cp $RECIPE_DIR/osx-post.sh $POST_LINK
18-
cp $RECIPE_DIR/osx-pre.sh $PRE_UNLINK
19-
chmod +x $POST_LINK $PRE_UNLINK
20-
21-
else # not Darwin
22-
rm -rf psyplot_gui/app/Psyplot.app
23-
fi

0 commit comments

Comments
 (0)