summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/compile.sh.in
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-11-10 14:03:37 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2017-11-10 14:03:37 +0000
commit4b74129efead9b8af67f92c3c67a0d9e2b18cdf4 (patch)
tree8ad51231ce6912b33264fc03de1340a0b088623d /Wrappers/Python/compile.sh.in
parent28f5ddb4538b0d37422821b9b9cfd9a9e8ae0fb1 (diff)
downloadregularization-4b74129efead9b8af67f92c3c67a0d9e2b18cdf4.tar.gz
regularization-4b74129efead9b8af67f92c3c67a0d9e2b18cdf4.tar.bz2
regularization-4b74129efead9b8af67f92c3c67a0d9e2b18cdf4.tar.xz
regularization-4b74129efead9b8af67f92c3c67a0d9e2b18cdf4.zip
code refactoring step1
Diffstat (limited to 'Wrappers/Python/compile.sh.in')
-rw-r--r--Wrappers/Python/compile.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Wrappers/Python/compile.sh.in b/Wrappers/Python/compile.sh.in
new file mode 100644
index 0000000..93fdba2
--- /dev/null
+++ b/Wrappers/Python/compile.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+# compile within the right conda environment
+#module load python/anaconda
+#source activate @CONDA_ENVIRONMENT@
+
+export CIL_VERSION=@CIL_VERSION@
+export LIBRARY_INC=@CONDA_ENVIRONMENT_LIBRARY_INC@
+
+conda build conda-recipe --python=@PYTHON_VERSION_MAJOR@.@PYTHON_VERSION_MINOR@ --numpy=@NUMPY_VERSION@ -c ccpi