Loading pipelines/build.sh +15 −6 Original line number Diff line number Diff line #!/bin/bash echo "===================== prepare for installation =====================" # show where I am echo " > whoami" whoami echo " > uname -a" Loading @@ -14,6 +15,7 @@ export CSST_SIMS_C3="/nfsdata/share/csst_simulation_data/Cycle-3-SimuData/" export CSST_SIMS_C5_2="/nfsdata/share/csst_simulation_data/Cycle-5-SimuData/" export AUX_DIR="/nfsdata/users/csstpipeline/L1Pipeline/unittests/" # show Python environment echo " > which python" which python echo " > which pip" Loading @@ -22,14 +24,21 @@ echo " > python --version" python --version echo "===================== install requirements =====================" if [ -f "requirements.txt" ]; then pip install -r requirements.txt fi echo "===================== install package =====================" if [ -f "install_local.sh" ]; then sh install_local.sh else # default install script rm -rf dist python setup.py build_ext --inplace #python setup.py build_ext --inplace #python setup.py install python setup.py sdist pip install dist/*.tar.gz --force-reinstall pip install dist/*.tar.gz --force-reinstall --no-deps fi echo "===================== show package info =====================" echo " > pip show $JOB_NAME" Loading Loading
pipelines/build.sh +15 −6 Original line number Diff line number Diff line #!/bin/bash echo "===================== prepare for installation =====================" # show where I am echo " > whoami" whoami echo " > uname -a" Loading @@ -14,6 +15,7 @@ export CSST_SIMS_C3="/nfsdata/share/csst_simulation_data/Cycle-3-SimuData/" export CSST_SIMS_C5_2="/nfsdata/share/csst_simulation_data/Cycle-5-SimuData/" export AUX_DIR="/nfsdata/users/csstpipeline/L1Pipeline/unittests/" # show Python environment echo " > which python" which python echo " > which pip" Loading @@ -22,14 +24,21 @@ echo " > python --version" python --version echo "===================== install requirements =====================" if [ -f "requirements.txt" ]; then pip install -r requirements.txt fi echo "===================== install package =====================" if [ -f "install_local.sh" ]; then sh install_local.sh else # default install script rm -rf dist python setup.py build_ext --inplace #python setup.py build_ext --inplace #python setup.py install python setup.py sdist pip install dist/*.tar.gz --force-reinstall pip install dist/*.tar.gz --force-reinstall --no-deps fi echo "===================== show package info =====================" echo " > pip show $JOB_NAME" Loading