Skip to content

Commit 57439a3

Browse files
authored
Update metacall-environment-macos.sh
1 parent b89709b commit 57439a3

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

tools/metacall-environment-macos.sh

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,22 @@ sub_swig() {
4444

4545
# Python
4646
sub_python() {
47-
echo "configuring python"
48-
brew install python3 python3-pip
49-
pip3 install requests
50-
pip3 install setuptools
51-
pip3 install wheel
52-
pip3 install rsa
53-
pip3 install scipy
54-
pip3 install numpy
55-
pip3 install joblib
56-
pip3 install scikit-learn
47+
echo "configuring python"
48+
brew install python3 python3-pip
49+
pip3 install requests
50+
pip3 install setuptools
51+
pip3 install wheel
52+
pip3 install rsa
53+
pip3 install scipy
54+
pip3 install numpy
55+
pip3 install joblib
56+
pip3 install scikit-learn
5757
}
5858

5959
# NodeJS
6060
sub_nodejs(){
61-
echo "configuring nodejs"
62-
npm uninstall npm -g
63-
rm -rf /usr/local/lib/node_modules/npm
64-
brew install node make npm curl python3
61+
echo "configuring nodejs"
62+
brew install node make npm curl python3
6563
}
6664

6765

@@ -70,9 +68,9 @@ sub_install()
7068
if [ $INSTALL_PYTHON = 1 ]; then
7169
sub_python
7270
fi
73-
if [ $INSTALL_NODEJS = 1 ]; then
74-
sub_nodejs
75-
fi
71+
if [ $INSTALL_NODEJS = 1 ]; then
72+
sub_nodejs
73+
fi
7674
}
7775

7876
sub_options(){

0 commit comments

Comments
 (0)