diff options
author | algol <dkazanc@hotmail.com> | 2017-10-26 15:29:16 +0100 |
---|---|---|
committer | algol <dkazanc@hotmail.com> | 2017-10-26 15:29:16 +0100 |
commit | e6349ed946772ee25a2f3ea1eba03e4c77e4f75e (patch) | |
tree | 47dd09cac6b16c2dff2ae874538c3ea64281876f /src/Python/fista-recipe | |
parent | a4ee6ded8036fa1a10ef860478f49d2eb2cd11e0 (diff) | |
parent | ed7dd1150261eddbc8dc5cea9b46ced884d5a884 (diff) | |
download | regularization-e6349ed946772ee25a2f3ea1eba03e4c77e4f75e.tar.gz regularization-e6349ed946772ee25a2f3ea1eba03e4c77e4f75e.tar.bz2 regularization-e6349ed946772ee25a2f3ea1eba03e4c77e4f75e.tar.xz regularization-e6349ed946772ee25a2f3ea1eba03e4c77e4f75e.zip |
Merge branch 'master' of https://github.com/vais-ral/CCPi-FISTA_Reconstruction
Diffstat (limited to 'src/Python/fista-recipe')
-rw-r--r-- | src/Python/fista-recipe/build.sh | 10 | ||||
-rw-r--r-- | src/Python/fista-recipe/meta.yaml | 29 |
2 files changed, 39 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..265541f --- /dev/null +++ b/src/Python/fista-recipe/meta.yaml @@ -0,0 +1,29 @@ +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-toolbox + - ccpi-regularizers + + + +about: + home: http://www.ccpi.ac.uk + license: Apache v.2.0 license + summary: 'CCPi Core Imaging Library (Viewer)' |