Skip to content
Snippets Groups Projects
pyproject.toml 3.13 KiB
Newer Older
Alán Muñoz's avatar
Alán Muñoz committed
[tool.poetry]
name = "aliby"
Alán Muñoz's avatar
Alán Muñoz committed
version = "0.1.64"
Alán Muñoz's avatar
Alán Muñoz committed
description = "Process and analyse live-cell imaging data"
Alán Muñoz's avatar
Alán Muñoz committed
authors = ["Alan Munoz <alan.munoz@ed.ac.uk>"]
packages = [
    { include = "aliby", from="src" },
    { include = "extraction", from="src" },
    { include = "agora", from="src" },
    { include = "postprocessor", from="src" },
    { include = "logfile_parser", from="src" },
Alán Muñoz's avatar
Alán Muñoz committed
readme = "README.md"
Alán Muñoz's avatar
Alán Muñoz committed

[tool.poetry.scripts]
aliby-run = "aliby.bin.run:run"
aliby-annotate = "aliby.bin.annotate:annotate"
aliby-visualise = "aliby.bin.visualise:napari_overlay"

[build-system]
requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

Alán Muñoz's avatar
Alán Muñoz committed
[tool.poetry.dependencies]
Alán Muñoz's avatar
Alán Muñoz committed
python = ">=3.8, <3.11"
PyYAML = "^6.0"
flatten-dict = "^0.4.2"
gaussianprocessderivatives = "^0.1.5"
numpy = ">=1.21.6"
Bottleneck = "^1.3.5"
opencv-python = "^4.7.0.72"
pathos = "^0.2.8" # Lambda-friendly multithreading
Alán Muñoz's avatar
Alán Muñoz committed
p-tqdm = "^1.3.3"
pandas = ">=1.3.3"
py-find-1st = "^1.1.5" # Fast indexing
scikit-learn = ">=1.0.2, <1.3" # Used for an extraction metric
scipy = ">=1.7.3"
# Pipeline + I/O
Alán Muñoz's avatar
Alán Muñoz committed
dask = "^2021.12.0"
imageio = "2.8.0" # For image-visualisation utilities
requests-toolbelt = "^0.9.1"
scikit-image = ">=0.18.1"
tqdm = "^4.62.3" # progress bars
xmltodict = "^0.13.0" # read ome-tiff metadata
GitPython = "^3.1.27"
h5py = "2.10" # File I/O
aliby-baby = "^0.1.17"
omero-py = { version = ">=5.6.2", optional = true } # contact omero server

# Postprocessing
[tool.poetry.group.pp.dependencies]
leidenalg = "^0.8.8"
more-itertools = "^8.12.0"
pycatch22 = "^0.4.2"
Alán Muñoz's avatar
Alán Muñoz committed
[tool.poetry.group.pp]
optional = true
Alán Muñoz's avatar
Alán Muñoz committed
[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
black = "^22.6.0"
mypy = "^0.930"
numpydoc = "^1.3.1"
isort = "^5.10.1"
jupyter = "^1.0.0"
flake8 = "^4.0.1"
pyright = "^1.1.258"
pre-commit = "^2.20.0"
seaborn = "^0.11.2"
debugpy = "^1.6.3"
coverage = "^7.0.4"
jupytext = "^1.14.4"
grid-strategy = "^0.0.1"
readchar = "^4.0.3"
ipdb = "^0.13.11"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
Sphinx = "^5.2.0"
sphinx-rtd-theme = "^1.0.0"
sphinx-autodoc-typehints = "^1.19.2"
myst-parser = "^0.18.0"

[tool.poetry.group.test]
optional = true

[tool.poetry.group.test.dependencies]
Alán Muñoz's avatar
Alán Muñoz committed
pytest = "^6.2.5"
Alán Muñoz's avatar
Alán Muñoz committed

[tool.poetry.group.utils]
Alán Muñoz's avatar
Alán Muñoz committed
# Dependency groups can only be used by a poetry installation, not pip
[tool.poetry.group.utils.dependencies]
Alán Muñoz's avatar
Alán Muñoz committed
napari = {version = ">=0.4.16", optional=true}
Torch = {version = "^1.13.1", optional=true}
pytorch-lightning = {version = "^1.9.3", optional=true}
torchvision = {version = "^0.14.1", optional=true}
trio = {version = "^0.22.0", optional=true}
grid-strategy = {version = "^0.0.1", optional=true}

[tool.poetry.extras]
omero = ["omero-py"]
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
    \.git
  | \.hg
  | \.mypy_cache
  | \.tox
  | \.venv
  | _build
  | buck-out
  | build
  | dist
)/
multi_line_output = 3
line_length = 79
include_trailing_comma = true

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
    "tests",
]