Commit a8455e64 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Revert "Change naming of Mac OS X python module wheel package so that it can...

Revert "Change naming of Mac OS X python module wheel package so that it can be installed from PyPi."

This is just not working as planned.

This reverts commit ffea0d30.
parent 7bc0c94e
......@@ -218,21 +218,13 @@ if(CMAKE_CROSSCOMPILING)
else()
if(APPLE)
set(PLATFORM_OS "macosx-${CMAKE_OSX_DEPLOYMENT_TARGET}")
set(LAST_OSX_DEPLOYMENT_TARGET "10.9")
set(LAST_PLATFORM_OS "macosx-${LAST_OSX_DEPLOYMENT_TARGET}")
else()
set(PLATFORM_OS "linux")
endif()
string(REPLACE "-" "_" UNDERSCORE_PLATFORM_OS ${PLATFORM_OS})
string(REPLACE "." "_" UNDERSCORE_PLATFORM_OS ${UNDERSCORE_PLATFORM_OS})
set(PLATFORM_TAG "${PLATFORM_OS}-${PLATFORM_ARCH_NAME}")
if(APPLE)
string(REPLACE "-" "_" UNDERSCORE_LAST_PLATFORM_OS ${LAST_PLATFORM_OS})
string(REPLACE "." "_" UNDERSCORE_LAST_PLATFORM_OS ${UNDERSCORE_LAST_PLATFORM_OS})
set(UNDERSCORE_PLATFORM_TAG "${UNDERSCORE_PLATFORM_OS}_intel.${UNDERSCORE_LAST_PLATFORM_OS}_intel.${UNDERSCORE_LAST_PLATFORM_OS}_${PLATFORM_ARCH_NAME}")
else()
set(UNDERSCORE_PLATFORM_TAG "${UNDERSCORE_PLATFORM_OS}_${PLATFORM_ARCH_NAME}")
endif()
set(UNDERSCORE_PLATFORM_TAG "${UNDERSCORE_PLATFORM_OS}_${PLATFORM_ARCH_NAME}")
endif()
# Generate the zip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment