modify whl file name to be same as package name

This commit is contained in:
zhoufeng 2020-04-15 09:48:04 +08:00
parent 30de261c3c
commit a1a2182b8a
1 changed files with 0 additions and 2 deletions

View File

@ -76,8 +76,6 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
)
endif ()
set(PACKAGE_NAME "mindspore")
file(GLOB WHL_FILE ${MS_PACK_ROOT_DIR}/dist/*.whl)
get_filename_component(ORIGIN_FILE_NAME ${WHL_FILE} NAME)
string(REPLACE "-" ";" ORIGIN_FILE_NAME ${ORIGIN_FILE_NAME})