diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ab906587..ba762608b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.8, 3.9] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 4e42573ba..b67307ce5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,46 @@ +[tool.poetry] +name = "bioimageio" +version = "0.5.0" +description = "" +authors = ["Bioimage.IO Contributors"] +packages = [{include = "bioimageio" }] + + +[tool.poetry.dependencies] +python = "^3.8" +numpy = "*" +pydantic = {version = ">=2.0.1"} +packaging = {version = ">=17.0"} +ruamel-yaml = "^0.18.5" +deepdiff = "^6.7.1" +email-validator = "^2.1.0.post1" +python-dateutil = "^2.8.2" +annotated-types = "^0.6.0" +typing-extensions = "^4.8.0" +lxml = "^4.9.3" +torch = "^2.1.1" + +pytest-cov = {version="^4.1.0", optional = true} +black = {version="^23.11.0", optional = true} +pyright = {version="^1.1.336", optional = true} +pooch = {version="^1.8.0", optional = true} +pre-commit = {version="^3.5.0", optional = true} +pytest = {version="^7.4.3", optional = true} +marshmallow = "^3.20.1" +marshmallow-union = "^0.1.15.post1" +typer = "^0.9.0" + +[tool.poetry.extras] +test = ["pytest-cov", "black", "pyright", "pooch", "pre-commit", "pytest"] + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + [tool.black] line-length = 120 target-version = ['py38'] + + +[tool.poetry.scripts] +bioimageio = "bioimageio.spec.__main__:app" \ No newline at end of file