Skip to content

Commit

Permalink
update conda recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Mar 12, 2024
1 parent 0555bf5 commit ed2bbcb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
10 changes: 3 additions & 7 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ build:

requirements:
host:
- python >=3.7,<3.10
- python >=3.8,<3.13
- pip
run:
- python >=3.7,<3.10
- tqdm
- typer
- python >=3.8,<3.13
{% for dep in setup_py_data['install_requires'] %}
- {{ dep.lower() }}
{% endfor %}
Expand All @@ -47,11 +45,10 @@ requirements:
test:
imports:
- bioimageio.core
- bioimageio.core.build_spec
source_files:
- tests
requires:
{% for dep in setup_py_data['extras_require']['test'] %}
{% for dep in setup_py_data['extras_require']['dev'] %}
- {{ dep.lower() }}
{% endfor %}
commands:
Expand All @@ -64,6 +61,5 @@ about:
license_family: MIT
license_file: LICENSE
summary: 'Tools for running BioimageIO compliant neural networks in Python.'

doc_url: https://github.com/bioimage-io/core-bioimage-io-python
dev_url: https://github.com/bioimage-io/core-bioimage-io-python
15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,18 @@
"pytorch": ["torch>=1.6", "torchvision"],
"tensorflow": ["tensorflow"],
"onnx": ["onnxruntime"],
"test": [
"bioimageio.core[onnx]",
"bioimageio.core[pytorch]",
"black[jupyter]",
"dev": [
"black",
"crick",
"pytest-xdist[psutil]", # parallel pytest with 'pytest -n auto'
"filelock",
"onnxruntime",
"pre-commit",
"psutil", # parallel pytest with 'pytest -n auto'
"pytest-xdist", # parallel pytest
"pytest",
"torch>=1.6",
"torchvision",
],
"dev": ["pre-commit", "bioimageio.core[test]"],
},
project_urls={
"Bug Reports": "https://github.com/bioimage-io/core-bioimage-io-python/issues",
Expand Down

0 comments on commit ed2bbcb

Please sign in to comment.