Skip to content

Commit

Permalink
refactor: Update pyproject.toml moving geopandas to global dependenci…
Browse files Browse the repository at this point in the history
…es and scikit-image to optional
  • Loading branch information
loic-lb committed Aug 12, 2024
1 parent e05eeb1 commit dc16422
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ matplotlib = "^3.8.3"
uuid = "^1.30"
pandas = "^2.2.1"
numpy = "^1.26.4"
geopandas = "^1.0.1"

torch = { version = "^2.2.2", optional = true }
torchvision = { version = "^0.17.2", optional = true }
Expand All @@ -32,12 +33,11 @@ transformers = { version = "^4.38.2", optional = true }
timm = { version = "^0.9.16", optional = true }
scikit-learn = "^1.4.1.post1"
huggingface-hub = { version = "^0.22.1", optional = true }
umap-learn = { version = "^0.5.5" }
cellpose = {version = "^3.0.7", optional = true}
dask = {extras = ["dataframe"], version = "^2024.3.1", optional = true}
umap-learn = { version = "^0.5.5", optional = true }
cellpose = { version = "^3.0.7", optional = true }
dask = { extras = ["dataframe"], version = "^2024.3.1", optional = true }
ipywidgets = { version = "^8.1.2", optional = true }
geopandas = {version = "^1.0.1", optional = true}
scikit-image = "^0.24.0"
scikit-image = { version ="^0.24.0", optional = true}

[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
Expand All @@ -55,7 +55,7 @@ pytest-subtests = "^0.12.1"

[tool.poetry.extras]
emb = ["torch", "torchvision", "tqdm", "transformers", "timm", "scikit-learn",
"huggingface-hub", "umap-learn", "dask", "geopandas"]
"huggingface-hub", "umap-learn", "dask", "scikit-image"]
seg = ["torch", "torchvision", "cellpose", "ipywidgets"]

[build-system]
Expand Down

0 comments on commit dc16422

Please sign in to comment.