csst-dfs-api-install.sh 1.13 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
brick    
Wei Shoulin committed
5
user=""
Wei Shoulin's avatar
Wei Shoulin committed
6
7
8
9
10
11
12

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