mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Install .egg-info file to let pip know that netgen is installed
This commit is contained in:
parent
eb98f59bc0
commit
8daef295f3
@ -625,6 +625,16 @@ if(UNIX)
|
||||
endif(temp)
|
||||
endif(UNIX)
|
||||
|
||||
if(USE_PYTHON AND NOT SKBUILD)
|
||||
# install egg file to let python/pip know that Netgen ist installed
|
||||
file( WRITE "netgen_mesher-py3.egg-info"
|
||||
"Metadata-Version: 2.1
|
||||
Name: netgen-mesher
|
||||
Version: ${NETGEN_VERSION_MAJOR}.${NETGEN_VERSION_MINOR}.${NETGEN_VERSION_PATCH}.post${NETGEN_VERSION_TWEAK}
|
||||
")
|
||||
install(FILES netgen_mesher-py3.egg-info DESTINATION ${NG_INSTALL_DIR_PYTHON} COMPONENT netgen)
|
||||
endif()
|
||||
|
||||
if(APPLE AND NOT SKBUILD)
|
||||
# create some auxiliary files
|
||||
set(mac_startup ${CMAKE_CURRENT_BINARY_DIR}/startup.sh)
|
||||
|
Loading…
Reference in New Issue
Block a user