Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
framel
framel-correct-python-platlib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File framel-correct-python-platlib.patch of Package framel
Index: Fr-8.42.3/Python/CMakeLists.txt =================================================================== --- Fr-8.42.3.orig/Python/CMakeLists.txt +++ Fr-8.42.3/Python/CMakeLists.txt @@ -10,8 +10,8 @@ if (ENABLE_PYTHON) # find paths by querying python execute_process( COMMAND "${Python3_EXECUTABLE}" "-c" - "from distutils import sysconfig; import numpy; -print(sysconfig.get_python_lib(plat_specific=True, prefix=''), end=';'); + "import sysconfig; import numpy; +print(sysconfig.get_path('platlib'), end=';'); print(numpy.get_include(), end=';') " RESULT_VARIABLE _Python3_RESULT @@ -62,7 +62,7 @@ print(numpy.get_include(), end=';') endif() # install python library - set(TARGET_SP_DIR "${CMAKE_INSTALL_PREFIX}/${Python3_INSTALL_DIR}") + set(TARGET_SP_DIR "${Python3_INSTALL_DIR}") install( TARGETS PyFr3 RUNTIME DESTINATION ${TARGET_SP_DIR}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor