Skip to content
Snippets Groups Projects

Build extra python modules as part of AthenaExternals

Merged Frank Winklmeier requested to merge fwinkl/atlasexternals:pymodules into master
Files
5
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
#
# Configuration for building/installing python "analysis" modules.
#
@@ -70,7 +70,7 @@ ExternalProject_Add( setuptools
INSTALL_COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH=${_sitePkgsDir}
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/atlas_build_run.sh
${PYTHON_EXECUTABLE} <SOURCE_DIR>/setup.py install --prefix=${_buildDir}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/cmake/sanitizeScripts.sh
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/sanitizePythonScripts.sh
"${_buildDir}/bin/easy_install*"
COMMAND ${CMAKE_COMMAND} -E copy_directory ${_buildDir}/ <INSTALL_DIR> )
add_dependencies( Package_PyAnalysis setuptools )
@@ -97,7 +97,7 @@ if( NOT NUMPY_FOUND OR ATLAS_BUILD_PYTHON )
PYTHONPATH=${_sitePkgsDir}
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/atlas_build_run.sh
${PYTHON_EXECUTABLE} <SOURCE_DIR>/setup.py install --prefix=${_buildDir}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/cmake/sanitizeScripts.sh
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/sanitizePythonScripts.sh
"${_buildDir}/bin/f2py*"
COMMAND ${CMAKE_COMMAND} -E copy_directory ${_buildDir}/ <INSTALL_DIR> )
add_dependencies( Package_PyAnalysis numpy )
@@ -122,7 +122,7 @@ if( NOT PIP_FOUND OR ATLAS_BUILD_PYTHON )
INSTALL_COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH=${_sitePkgsDir}
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/atlas_build_run.sh
${PYTHON_EXECUTABLE} <SOURCE_DIR>/setup.py install --prefix=${_buildDir}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/cmake/sanitizeScripts.sh
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/sanitizePythonScripts.sh
"${_buildDir}/bin/wheel*"
COMMAND ${CMAKE_COMMAND} -E copy_directory ${_buildDir}/ <INSTALL_DIR> )
add_dependencies( Package_PyAnalysis wheel )
@@ -148,7 +148,7 @@ if( NOT PIP_FOUND OR ATLAS_BUILD_PYTHON )
INSTALL_COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH=${_sitePkgsDir}
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/atlas_build_run.sh
${PYTHON_EXECUTABLE} <SOURCE_DIR>/setup.py install --prefix=${_buildDir}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/cmake/sanitizeScripts.sh
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/sanitizePythonScripts.sh
"${_buildDir}/bin/pip*"
COMMAND ${CMAKE_COMMAND} -E copy_directory ${_buildDir}/ <INSTALL_DIR> )
add_dependencies( Package_PyAnalysis pip )
Loading