summaryrefslogtreecommitdiffstats
path: root/src/Python/compile.sh.in
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-10-23 10:50:41 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-23 10:50:41 +0100
commite3dee52c17c9da457cc4c4e98b7dbb8ce1a644f6 (patch)
tree1971413d892c01d5acfcbf0748ab266027df89b4 /src/Python/compile.sh.in
parentd5d7d09132f159156fd0ebf586c07e68a10a6bed (diff)
downloadregularization-e3dee52c17c9da457cc4c4e98b7dbb8ce1a644f6.tar.gz
regularization-e3dee52c17c9da457cc4c4e98b7dbb8ce1a644f6.tar.bz2
regularization-e3dee52c17c9da457cc4c4e98b7dbb8ce1a644f6.tar.xz
regularization-e3dee52c17c9da457cc4c4e98b7dbb8ce1a644f6.zip
Add needed environment variables
Adds the environment variables that are needed to compile via conda.
Diffstat (limited to 'src/Python/compile.sh.in')
-rw-r--r--src/Python/compile.sh.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Python/compile.sh.in b/src/Python/compile.sh.in
index dd29973..ca9f310 100644
--- a/src/Python/compile.sh.in
+++ b/src/Python/compile.sh.in
@@ -1,6 +1,9 @@
#!/bin/sh
+# compile within the right conda environment
+#module load python/anaconda
+#source activate @CONDA_ENVIRONMENT@
export CIL_VERSION=@CIL_VERSION@
-module load python/anaconda
-source activate @CONDA_ENVIRONMENT@
+export LIBRARY_INC=@CONDA_ENVIRONMENT_LIBRARY_INC@
+
conda build conda-recipe --python=@PYTHON_VERSION_MAJOR@.@PYTHON_VERSION_MINOR@ --numpy=@NUMPY_VERSION@ -c ccpi \ No newline at end of file