diff --git a/README.md b/README.md index 1db84f5..31f1b09 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +# This package has moved! + +`imio` has been merged into [`brainglobe-utils`](https://github.com/brainglobe/brainglobe-utils) and will no longer be provided standalone. +If you want to continue using this package's functionality, we recommend you install `brainglobe-utils` and the corresponding submodule. + +--- + [![Python Version](https://img.shields.io/pypi/pyversions/imio.svg)](https://pypi.org/project/imio) [![PyPI](https://img.shields.io/pypi/v/imio.svg)](https://pypi.org/project/imio) [![Downloads](https://pepy.tech/badge/imio)](https://pepy.tech/project/imio) diff --git a/imio/__init__.py b/imio/__init__.py index 46900e5..1b3c804 100644 --- a/imio/__init__.py +++ b/imio/__init__.py @@ -1,3 +1,12 @@ +from warnings import warn + +warn( + "imio has merged into brainglobe-utils as a submodule." + "To remain up to date, please install brainglobe-utils and use the image_io submodule:" + "https://github.com/brainglobe/brainglobe-utils", + DeprecationWarning, +) + __author__ = "Charly Rousseau, Adam Tyson" __version__ = "0.2.4" diff --git a/pyproject.toml b/pyproject.toml index 0826dc5..0dc7efc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,6 +94,5 @@ python = extras = dev commands = - pytest -v --color=yes --cov=imio --cov-report=xml - + pytest -v --color=yes --cov=imio --cov-report=xml -W ignore::DeprecationWarning """