File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -509,11 +509,14 @@ function stage_python_wheels(){
509
509
# Stage the microsoft-azure-orbital-sdk wheel to the wheel directory
510
510
run_a_script " ${SPACEFX_DIR} /scripts/stage/stage_build_artifact.sh --architecture ${ARCHITECTURE} --artifact microsoftazurespacefx-${SPACEFX_VERSION} -py3-none-any.whl"
511
511
512
- # Find all wheels in the ${SPACEFX_DIR}/wheel directory and copy them to the ${SPACEFX_DIR}/registry/pypiserver/packages directory
513
- # Copy only the wheel itself to the root level of the pypiserver/packages directory and not the entire directory structure
512
+ # Find all wheels in the ${SPACEFX_DIR}/wheel directory and move them to the ${SPACEFX_DIR}/registry/pypiserver/packages directory
513
+ # Move only the wheel itself to the root level of the ${SPACEFX_DIR}/registry/ pypiserver/packages directory and not the entire directory structure
514
514
# The pypiserver will detect these wheels and serve the python packages when it boots up
515
515
run_a_script " mkdir -p ${SPACEFX_DIR} /registry/pypiserver/packages"
516
- run_a_script " find ${SPACEFX_DIR} /wheel -type f -name '*.whl' -exec cp {} ${SPACEFX_DIR} /registry/pypiserver/packages \;"
516
+ run_a_script " find ${SPACEFX_DIR} /wheel -type f -name '*.whl' -exec mv {} ${SPACEFX_DIR} /registry/pypiserver/packages \;"
517
+
518
+ # Remove the wheel directory
519
+ run_a_script " rm -rf ${SPACEFX_DIR} /wheel"
517
520
518
521
info_log " FINISHED: ${FUNCNAME[0]} "
519
522
}
You can’t perform that action at this time.
0 commit comments