Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to Python3.9 (WIP) #819

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions install/dependencies/conda-recipes/astra-toolbox/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

nvcc=`command -v nvcc`
cuda=${nvcc%/bin/nvcc}

cd $SRC_DIR/build/linux
chmod +x autogen.sh
./autogen.sh

if [ "$cuda" ]; then
./configure --with-cuda=$cuda \
--with-python \
--with-install-type=module
else
echo "cuda has not been found will configure without it."
./configure --with-python \
--with-install-type=module
fi

make -j 4
make install
34 changes: 34 additions & 0 deletions install/dependencies/conda-recipes/astra-toolbox/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package:
name: astra-toolbox
version: '1.9.9dev'

source:
git_url: https://github.com/astra-toolbox/astra-toolbox.git
git_tag: master

build:
number: 0
script_env:
- CC # [linux]

requirements:
build:
- python
- numpy
- cython >=0.13
- nomkl # [not win]
- scipy
- cudatoolkit >=10.1
- six

run:
- python
- numpy
- scipy
- six
- libastra ==1.9.9dev

about:
home: http://www.astra-toolbox.com
license: GPLv3
summary: 'The ASTRA Toolbox is a Python toolbox of high-performance GPU primitives for 2D and 3D tomography.'
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python:
- 3.9
36 changes: 36 additions & 0 deletions install/dependencies/conda-recipes/geodist/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% set name = 'geodistk' %}
{% set version = '0.1.6' %}

package:
name: {{ name | lower }}
version: {{ version }}


source:
git_url: https://github.com/taigw/GeodisTK.git
git_tag: master

requirements:
build:
- python {{ python }}
- numpy
run:
- python {{ python }}
- numpy

build:
number: 0
script:
- {{ PYTHON }} -m pip install .

test:
imports:
- GeodisTK

app:
summary: "Geodesic distance transform of 2d/3d images"

about:
home: https://github.com/taigw/GeodisTK
license: MIT
license_file: LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python:
- 3.9
37 changes: 37 additions & 0 deletions install/dependencies/conda-recipes/morphsnakes/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% set name = 'morphsnakes' %}
{% set version = '1.0' %}

package:
name: {{ name | lower }}
version: {{ version }}

source:
git_url: https://github.com/pmneila/morphsnakes.git
git_tag: master

requirements:
build:
- python {{ python }}
- numpy
- scipy>=0.17.0
run:
- python {{ python }}
- numpy
- scipy>=0.17.0

build:
number: 0
script:
- {{ PYTHON }} -m pip install .

test:
imports:
- morphsnakes

app:
summary: "Morphological Snakes for image segmentation. morphsnakes supports 2D images and 3D volumes"

about:
home: https://github.com/pmneila/morphsnakes
license: MIT
license_file: LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

python setup.py install
31 changes: 31 additions & 0 deletions install/dependencies/conda-recipes/pypwt/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{% set version = "0.9" %}

package:
name: pypwt
version: {{ version }}_{{ environ['CUDA_VERSION'] }}

source:
url: https://github.com/dkazanc/pypwt/archive/{{ version }}.tar.gz

requirements:
build:
- python
- pip
- numpy
- setuptools
- cython >=0.13
- cudatoolkit={{ environ['CUDA_VERSION'] }}

run:
- python
- numpy
- setuptools

build:
preserve_egg_dir: False
number: 0

about:
home: https://github.com/pierrepaleo/pypwt
license: Apache V2 and GPL V3
summary: 'pypwt is a python module for parallel Discrete Wavelet Transform. This is a wrapper of PDWT.'
7 changes: 0 additions & 7 deletions install/savu_hpc/conda-recipes/tomophantom/build.sh

This file was deleted.

36 changes: 0 additions & 36 deletions install/savu_hpc/conda-recipes/tomophantom/meta.yaml

This file was deleted.

93 changes: 0 additions & 93 deletions install/savu_lite37/condabuild/meta.yaml

This file was deleted.

Loading