Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:kde:plasma
nest
Fix-Python-DESTDIR.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-Python-DESTDIR.patch of Package nest
diff --git a/pynest/CMakeLists.txt b/pynest/CMakeLists.txt index e8f2568..51b92ac 100644 --- a/pynest/CMakeLists.txt +++ b/pynest/CMakeLists.txt @@ -94,9 +94,14 @@ if ( HAVE_PYTHON ) install( CODE " execute_process( COMMAND ${PYTHON} ${CMAKE_CURRENT_BINARY_DIR}/setup.py install_egg_info + --root=\${DESTDIR}/ --install-dir=${CMAKE_INSTALL_PREFIX}/${PYEXECDIR} WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${PYEXECDIR}\" ) + " + ) + if ( FALSE ) + install( CODE " # Use Python's standard library `pkg_resources` module to find # the install requirements of `nest` as specified in `setup.py`. # Then feed them into the stdin pipe of `pip install`. @@ -106,6 +111,7 @@ if ( HAVE_PYTHON ) ) " ) + endif () install( DIRECTORY examples/ DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples/pynest
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