Skip to content

Commit

Permalink
Merge branch 'main' into bg-utils-hackathon
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Nov 13, 2023
2 parents 83d2653 + a20037e commit 1835527
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# brainglobe-utils
Shared general purpose tools for the BrainGlobe project

## Installation

```bash
pip install brainglobe-utils
```
To also include the dependencies required for `napari`, use:
```bash
pip install brainglobe-utils[napari]
```

For development, clone this repository and install the dependencies with one of the following commands:
```bash
pip install -e .[dev]
pip install -e .[dev,napari]
```
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies = [
"configobj",
"tqdm",
"PyYAML",
"pytest-qt",
"scipy",
"scikit-image",
"superqt",
Expand All @@ -38,6 +39,11 @@ source_code = "https://github.com/brainglobe/brainglobe-utils"
user_support = "https://github.com/brainglobe/brainglobe-utils/issues"

[project.optional-dependencies]
napari = [
"napari>=0.4.18",
"qtpy",
]

dev = [
"pytest",
"pytest-cov",
Expand All @@ -48,6 +54,9 @@ dev = [
"pre-commit",
"ruff",
"setuptools_scm",
"pytest-qt",
"qtpy",
"PyQt5",
]

slumrmio = [
Expand Down

0 comments on commit 1835527

Please sign in to comment.