Skip to content
Snippets Groups Projects
Commit f2a1337e authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Put dependencies in pyproject.toml instead of conda build recipe

parent fca68f0f
No related branches found
No related tags found
No related merge requests found
{% set name = "model_server" %}
{% set version = "2024.7.1" %}
{% set pyproject = load_file_data('../pyproject.toml') %}
package:
name: {{ name|lower }}
......@@ -9,8 +10,6 @@ source:
- path: ../dist/{{ name }}-{{ version }}.tar.gz
- path: ../tests
folder: tests
# - path: ../../fixtures_{{ version }}.tar.gz
build:
noarch: python
......@@ -24,33 +23,30 @@ requirements:
- pip
run:
- python >=3.9
- czifile
- fastapi>=0.101.*
- ilastik=1.4.*
- imagecodecs
- jupyterlab
- matplotlib
- numpy=1.*
- pandas=1.*
- pillow
- pydantic=1.10.*
- python=3.9.*
- pytorch=1.*
- scikit-image>=0.21.*
- scikit-learn>=1.3.*
- tifffile
- uvicorn>=0.23.*
- zstd=1.5.5
# - czifile
# - fastapi>=0.101.*
# - ilastik=1.4.*
# - imagecodecs
# - jupyterlab
# - matplotlib
# - numpy=1.*
# - pandas=1.*
# - pillow
# - pydantic=1.10.*
# - python=3.9.*
# - pytorch=1.*
# - scikit-image>=0.21.*
# - scikit-learn>=1.3.*
# - tifffile
# - uvicorn>=0.23.*
# - zstd=1.5.5
- pip
test:
# files:
# - ../../fixtures_{{ version }}.tar.gz
imports:
- model_server
commands:
# -{{ PYTHON }} -m tarfile -e fixtures_{{ version }}.tar.gz
-{{ PYTHON }} -m unittest model_server
requires:
- pip
......
......@@ -2,6 +2,7 @@
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "model_server"
license = {file = "LICENSE"}
......@@ -12,6 +13,25 @@ authors = [
description = "Service for analyzing microscope images"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"czifile",
"fastapi>=0.101.*",
"ilastik=1.4.*",
"imagecodecs",
"jupyterlab",
"matplotlib",
"numpy=1.*",
"pandas=1.*",
"pillow",
"pydantic=1.10.*",
"python=3.9.*",
"pytorch=1.*",
"scikit-image>=0.21.*",
"scikit-learn>=1.3.*",
"tifffile",
"uvicorn>=0.23.*",
"zstd=1.5.5",
]
[project.urls]
Homepage = "https://git.embl.de/rhodes/model_server"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment