csst-dfs-api-install.sh 1.1 KB
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
echo "CSST-DFS-API Installer"
echo "=============================================="

Wei Shoulin's avatar
install    
Wei Shoulin committed
4
version=""
Wei Shoulin's avatar
Wei Shoulin committed
5
6
7
8
9
10
11

pip uninstall csst-dfs-api-local -y
pip uninstall csst-dfs-api-cluster -y
pip uninstall csst-dfs-commons -y
pip uninstall csst-dfs-proto -y
pip uninstall csst-dfs-api -y

Wei Shoulin's avatar
em    
Wei Shoulin committed
12
13
14
echo "Installing CSST DFS API with Version:$version"
echo "➡==============================================="
echo " 🛰  1️⃣/5️⃣"
Wei Shoulin's avatar
install    
Wei Shoulin committed
15
pip install git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-commons.git$version
Wei Shoulin's avatar
em    
Wei Shoulin committed
16
echo " 🛰  2️⃣/5️⃣"
Wei Shoulin's avatar
install    
Wei Shoulin committed
17
pip install git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-proto-py.git$version
Wei Shoulin's avatar
em    
Wei Shoulin committed
18
echo " 🛰  3️⃣/5️⃣"
Wei Shoulin's avatar
install    
Wei Shoulin committed
19
pip install git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api-local.git$version
Wei Shoulin's avatar
em    
Wei Shoulin committed
20
echo " 🛰  4️⃣/5️⃣"
Wei Shoulin's avatar
install    
Wei Shoulin committed
21
pip install git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api-cluster.git$version
Wei Shoulin's avatar
em    
Wei Shoulin committed
22
echo " 🛰  5️⃣/5️⃣"
Wei Shoulin's avatar
install    
Wei Shoulin committed
23
pip install git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api.git$version
Wei Shoulin's avatar
em    
Wei Shoulin committed
24
25
echo "➡==============================================="
echo "🇨🇳🇨🇳🇨🇳🚀🚀🚀Done!"