Skip to content

Commit 1d73b2f

Browse files
LeengitLee Newberg
authored andcommitted
ENH: Remove large_image as automatic dependency. (#47)
1 parent ccff8dd commit 1d73b2f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ The goal of this project is to create a whole-slide image file reader for machin
99
[![PyPI Version](https://img.shields.io/pypi/v/histomics_stream.svg)](https://pypi.python.org/pypi/histomics_stream)
1010
[![Open In CoLab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DigitalSlideArchive/histomics_stream/blob/master/example/tensorflow_stream.ipynb?authuser=1)
1111

12-
histomics_stream can be easily installed with Python wheels. If you do not want the installation to be to your current Python environment, you should first create and activate a [Python virtual environment (venv)](https://docs.python.org/3/tutorial/venv.html) to work in. Then, run the following from the command-line:
12+
histomics_stream can be easily installed with Python wheels. If you do not want the installation to be to your current Python environment, you should first create and activate a [Python virtual environment (venv)](https://docs.python.org/3/tutorial/venv.html) to work in. Then, run the following from the command line:
1313

1414
```shell-script
15+
pip uninstall -y large_image tensorflow histomics_stream
16+
pip install 'large_image[all]' --find-links https://girder.github.io/large_image_wheels
1517
pip install histomics_stream
1618
```
1719

example/tensorflow_stream.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"source": [
2020
"## Installation\n",
2121
"\n",
22-
"If you are running this notebook on Google Colab or another system where `histomics_stream` is not yet installed then it can be installed with the following command."
22+
"If you are running this notebook on Google Colab or another system where `histomics_stream` and its dependencies are not yet installed then they can be installed with the following commands."
2323
]
2424
},
2525
{
@@ -29,6 +29,8 @@
2929
"metadata": {},
3030
"outputs": [],
3131
"source": [
32+
"!pip uninstall -y large_image tensorflow histomics_stream\n",
33+
"!pip install 'large_image[all]' --find-links https://girder.github.io/large_image_wheels\n",
3234
"!pip install histomics_stream"
3335
]
3436
},

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"pillow",
2525
"imagecodecs",
2626
"openslide-python",
27-
"large-image[all]",
2827
"zarr",
2928
"napari_lazy_openslide",
3029
"tifffile",

0 commit comments

Comments
 (0)