Skip to content

Commit

Permalink
Recipe for niworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalavi committed Feb 23, 2024
1 parent f40c044 commit f8877ef
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN mamba install --yes "boa" "conda-verify"
# Build all custom recipes in one command. We build our own conda packages to simplify
# the environment creation process, as some of them were only available in pypi.
COPY recipes /recipes
RUN for pkg in rmath traits niflow-nipype1-workflows nitransforms tedana templateflow; do \
RUN for pkg in rmath traits niflow-nipype1-workflows pybids nitransforms tedana templateflow; do \
conda mambabuild --no-anaconda-upload /recipes/$pkg && \
conda build purge; \
done
Expand Down
4 changes: 4 additions & 0 deletions recipes/niworkflows/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python:
- 3.11
numpy:
- 1.24
32 changes: 32 additions & 0 deletions recipes/niworkflows/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{% set name = "niworkflows" %}
{% set version = "1.3.10" %}

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

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 390048f48d34d77c6d23eeee5796c238536688e5508765ccf5dc856e0838059e

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

requirements:
host:
- python 3.11.*
- pip
run:
- python 3.11.*

test:
imports:
- niworkflows

about:
home: https://github.com/nipreps/niworkflows
license: Apache-2.0
license_family: Apache
license_file: LICENSE
summary: "NeuroImaging Workflows provides processing tools for magnetic resonance images of the brain."
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ psutil==5.9.8
# -r requirements.in
# flufl-lock
# fmriprep
pybids==0.15.6
pybids==0.14.1
# via
# -r requirements.in
# fmriprep
Expand Down

0 comments on commit f8877ef

Please sign in to comment.