summaryrefslogtreecommitdiffstats
path: root/src/Python/compile.sh.in
diff options
context:
space:
mode:
authordkazanc <dkazanc@hotmail.com>2017-10-26 13:58:24 +0100
committerGitHub <noreply@github.com>2017-10-26 13:58:24 +0100
commited7dd1150261eddbc8dc5cea9b46ced884d5a884 (patch)
tree9d67379252ad29345b516d9bad0ded2b32821933 /src/Python/compile.sh.in
parentc91436873e48d531b9313f9c10fa5f89bcb90ab6 (diff)
parent01861a7022cb7855bc1a8cd7f8cfd6282690a4f1 (diff)
downloadregularization-ed7dd1150261eddbc8dc5cea9b46ced884d5a884.tar.gz
regularization-ed7dd1150261eddbc8dc5cea9b46ced884d5a884.tar.bz2
regularization-ed7dd1150261eddbc8dc5cea9b46ced884d5a884.tar.xz
regularization-ed7dd1150261eddbc8dc5cea9b46ced884d5a884.zip
Merge pull request #8 from vais-ral/pythonize
Pythonize
Diffstat (limited to 'src/Python/compile.sh.in')
-rw-r--r--src/Python/compile.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Python/compile.sh.in b/src/Python/compile.sh.in
new file mode 100644
index 0000000..93fdba2
--- /dev/null
+++ b/src/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