-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some refactoring and small formatting changes
- Loading branch information
1 parent
5ecc138
commit cad3d0f
Showing
3 changed files
with
85 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
if ! command -v brew &> /dev/null | ||
then | ||
echo "Installing Homebrew" | ||
/bin/bash -c "$(curl -fsSL https://github.com/raw/Homebrew/install/HEAD/install.sh)" | ||
else | ||
echo "Homebrew is already installed" | ||
fi | ||
|
||
if ! command -v python3 &> /dev/null | ||
then | ||
echo "Installing Python 3 using Homebrew" | ||
brew install python@3.9 | ||
else | ||
echo "Python 3 is already installed" | ||
fi | ||
|
||
if ! command -v conda &> /dev/null | ||
then | ||
echo "Installing conda" | ||
brew install --cask anaconda | ||
else | ||
echo "conda is already installed" | ||
fi | ||
|
||
|
||
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -O miniforge.sh | ||
|
||
|
||
if ! conda list | grep -q cadquery | ||
then | ||
echo "Installing CadQuery 2 using conda" | ||
conda install -c cadquery -c conda-forge cadquery=master | ||
export PATH="/usr/local/anaconda3/bin:$PATH" | ||
else | ||
echo "CadQuery 2 is already installed" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters