summaryrefslogtreecommitdiffstats
path: root/src/Python/fista-recipe
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-10-23 17:04:41 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-23 17:04:41 +0100
commitece0bfc45cf2e339fc517a4f2c078f0b8fe274ad (patch)
treeb52304b950304fe58200d5e5f6744ded852122a6 /src/Python/fista-recipe
parent44ec01fa2e8d8da2dce4950ea3d822fe7c8cd8d5 (diff)
downloadregularization-ece0bfc45cf2e339fc517a4f2c078f0b8fe274ad.tar.gz
regularization-ece0bfc45cf2e339fc517a4f2c078f0b8fe274ad.tar.bz2
regularization-ece0bfc45cf2e339fc517a4f2c078f0b8fe274ad.tar.xz
regularization-ece0bfc45cf2e339fc517a4f2c078f0b8fe274ad.zip
add fista-recipe and stuff
Diffstat (limited to 'src/Python/fista-recipe')
-rw-r--r--src/Python/fista-recipe/build.sh10
-rw-r--r--src/Python/fista-recipe/meta.yaml28
2 files changed, 38 insertions, 0 deletions
diff --git a/src/Python/fista-recipe/build.sh b/src/Python/fista-recipe/build.sh
new file mode 100644
index 0000000..e3f3552
--- /dev/null
+++ b/src/Python/fista-recipe/build.sh
@@ -0,0 +1,10 @@
+if [ -z "$CIL_VERSION" ]; then
+ echo "Need to set CIL_VERSION"
+ exit 1
+fi
+mkdir "$SRC_DIR/ccpifista"
+cp -r "$RECIPE_DIR/.." "$SRC_DIR/ccpifista"
+
+cd $SRC_DIR/ccpifista
+
+$PYTHON setup-fista.py install
diff --git a/src/Python/fista-recipe/meta.yaml b/src/Python/fista-recipe/meta.yaml
new file mode 100644
index 0000000..64c9b5d
--- /dev/null
+++ b/src/Python/fista-recipe/meta.yaml
@@ -0,0 +1,28 @@
+package:
+ name: ccpi-fista
+ version: {{ environ['CIL_VERSION'] }}
+
+
+build:
+ preserve_egg_dir: False
+ script_env:
+ - CIL_VERSION
+# number: 0
+
+requirements:
+ build:
+ - python
+ - numpy
+ - setuptools
+
+ run:
+ - python
+ - numpy
+ - astra
+
+
+
+about:
+ home: http://www.ccpi.ac.uk
+ license: Apache v.2.0 license
+ summary: 'CCPi Core Imaging Library (Viewer)'