From ee8f3a66a4df6f75b2b0d44651017ea1b27907bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk>
Date: Tue, 24 Jan 2023 14:48:46 +0000
Subject: [PATCH] chore(pyproject): integrate aliby-run script

---
 pyproject.toml | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index cb5706e4..069ba99b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,6 +12,13 @@ packages = [
 ]
 readme = "README.md"
 
+[tool.poetry.scripts]
+aliby-run = "aliby.bin.run:run"
+
+[build-system]
+requires = ["setuptools", "poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
+
 [tool.poetry.dependencies]
 python = ">=3.8, <3.11"
 PyYAML = "^6.0"
@@ -26,7 +33,7 @@ py-find-1st = "^1.1.5" # Fast indexing
 scikit-learn = ">=1.0.2" # Used for an extraction metric
 scipy = ">=1.7.3"
 
-# [tool.poetry.group.pipeline.dependencies]
+# Pipeline + I/O
 aliby-baby = "^0.1.15"
 dask = "^2021.12.0"
 imageio = "2.8.0" # For image-visualisation utilities
@@ -35,13 +42,13 @@ scikit-image = ">=0.18.1"
 tqdm = "^4.62.3" # progress bars
 xmltodict = "^0.13.0" # read ome-tiff metadata
 
-# [tool.poetry.group.postprocessor.dependencies]
+# Postprocessing
 leidenalg = "^0.8.8"
 more-itertools = "^8.12.0"
 pathos = "^0.2.8" # Lambda-friendly multithreading
 pycatch22 = "^0.4.2"
 
-# [tool.poetry.group.network.dependencies]
+# Networking
 omero-py = { version = ">=5.6.2", optional = true } # contact omero server
 zeroc-ice = { version="3.6.5", optional = true } # networking interface, slow to build
 GitPython = "^3.1.27"
@@ -86,10 +93,6 @@ optional = true
 pytest = "^6.2.5"
 
 
-[build-system]
-requires = ["setuptools", "poetry-core>=1.0.0"]
-build-backend = "poetry.core.masonry.api"
-
 [tool.black]
 line-length = 79
 target-version = ['py38']
-- 
GitLab