From d1ff17c087883dad9784a8471dba02d503539874 Mon Sep 17 00:00:00 2001 From: Gonzalo Casas Date: Fri, 23 Feb 2024 08:28:28 +0100 Subject: [PATCH] add mrac installers --- ws_iaac_2024/installer.zip | Bin 0 -> 1568 bytes ws_iaac_2024/mac_install.bash | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 ws_iaac_2024/installer.zip create mode 100644 ws_iaac_2024/mac_install.bash diff --git a/ws_iaac_2024/installer.zip b/ws_iaac_2024/installer.zip new file mode 100644 index 0000000000000000000000000000000000000000..d91d3b5e805fe59744e2af5e5e012af31c484e81 GIT binary patch literal 1568 zcmV+*2H*KmO9KQH000080P!YQSo)RHEqnz40CNuj01p5F0C#C_UukZ0bYX04E@N$E zombsb+eQ?=_l)1+ps51s;2%gz7^cqDI3lKcaj037-M(;7>B#w1rp71F|WJ(WVOwk&CnGrtK@G!M@ZDBfN;?3_s zi8(^udTXIuX54=FW?uB&cs!_9z_@k$1LxN5Tz2~ComDHZs})l;==5$rwB3GtblI{$ zAw>OHOjtneuh)z-PjH{SDGE9_x9&~*+G#DM%Lwt@Ar$MxoQY z?ze}SsZ=Bgh(b2i>vaTFv$3wV&%7D+=B|m}jbbV(_vofk_y!#>%qx!hPgw!u>rf z)%w^Q^#H5r(j}8Ru{2&&nk`>PyL~NlPh6rLU=&en;sKo<8e0M^Synd0fNSEvO&4-r#z;yeo(Hb-U z)%++9qku?-6KI-*x*5X+pKf|1Y(=PRJePod z&CP_0h?+^Phnj(mh)1PvR8$Tz(ouUbg2sX{EC6N%)|%<-{IW9YEZAox>3C(ztdnLg>t7fheZaiaLnBu)K zhT=HW^zmY<^Jn_YVxt_}(_IT|_)DPQiF4+q=B2G&!}3k>k#FOkrkZCwA>&rFeteog z>r-7sc=p^wWa!j-Q$K1#ZB?w-uEWE`;g?cpe>0YS+=x6JEOL?r!D@r2x+QY_0gKdwOHZKGY*J1he<%@^c0xX>uI#ovl&bW)TBzrcskzg1f?w27tAs0Z^!;L zFi-Ys$pTiO$Nw-<&%1%P^Qc8jOgaTSf$+>Jb(V9eKX5L(U+hPyXYraK>pA?jdw5rG zmM@Kk#2*f$e1#M|4HI1$=qdMIG0D-Ov4N;;Ma!4)Z1?^dArDw6Th_ysU@@a{wi^_d z|BaQz+yhF6W?9?j6v)stSFesp0^dx@T&%Qn!C5jLetlP-J9$^`G!rjrmS=f<`ncZh zZmsuHH(Og`xu0C@rH-~=>MhiL=<`;w=d*i{{ctn0v+Ga4{b}e_E6$fL?uF+lQPBDi zP)h*<9{>~p000O8@g`ST`jyfxd<6gia}NLj4*(Z?1^@s6 S009620AT /dev/null +then + echo "Installing miniconda (Python distribution)…" + curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ./miniconda.sh &> /dev/null + bash ./miniconda.sh -b -u -p $CONDA_HOME &> /dev/null + echo "Installing miniconda (Python distribution)…Done!" + + echo "Configuring miniconda for first use…" + $CONDA_BIN/conda init bash &> /dev/null + source $HOME/.bash_profile &> /dev/null + echo "Configuring miniconda for first use…Done!" +else + CONDA_HOME=$(dirname $(dirname $CONDA_EXE)) +fi + +echo "Creating virtual environment…" +conda create -c conda-forge -n $CONDA_ENV_NAME compas compas_fab=0.28 compas_eve cmake boost opencv python=3.10 -y &> /dev/null +echo "Creating virtual environment…Done" + +echo "Activating virtual environment…" +source $CONDA_HOME/bin/activate $CONDA_ENV_NAME +echo "Activating virtual environment…Done!" + +echo "Installing development tools…" +python -m pip install ur-rtde black flake8 isort pytest rhino-stubs -q +echo "Installing development tools…Done!" + +echo "Installing on Rhino…" +python -m compas_rhino.install -v 7.0 +echo "Installing on Rhino…Done!"