From e5a4cfb47e34535c58b0f28725dcbc6155c0ade5 Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Mon, 29 Jul 2019 14:42:20 -0400 Subject: [PATCH] Add requirements.txt for python package dependencies --- Jenkinsfile | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 requirements.txt diff --git a/Jenkinsfile b/Jenkinsfile index 7744f4c9..e0a0b2d9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -71,6 +71,8 @@ for (int i = 0; i < osxPlatforms.size(); i++) { "LIBRARY_PATH=$triqsDir/lib:${env.BREW}/lib", "CMAKE_PREFIX_PATH=$triqsDir/lib/cmake/triqs"]) { deleteDir() + /* note: this is installing into the parent (triqs) venv (install dir), which is thus shared among apps and so not be completely safe */ + sh "pip install -r $srcDir/requirements.txt" sh "cmake $srcDir -DCMAKE_INSTALL_PREFIX=$installDir -DTRIQS_ROOT=$triqsDir" sh "make -j3" try { diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..21ccef9e --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +# Required python packages for this application (these should also be added to Dockerfile for Jenkins)