Skip to content

Commit

Permalink
Update bg-space to brainglobe-space dependency (#63)
Browse files Browse the repository at this point in the history
* Update pyproject

* Update source imports
  • Loading branch information
willGraham01 authored Jan 25, 2024
1 parent 3128b6c commit c018b24
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
2 changes: 1 addition & 1 deletion brainglobe_napari_io/brainmapper/brainmapper_reader_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pathlib import Path
from typing import Callable, Dict, List, Optional, Tuple, Union

import bg_space as bgs
import brainglobe_space as bgs
from napari.types import LayerDataTuple

from brainglobe_napari_io.brainreg.reader_dir import (
Expand Down
42 changes: 19 additions & 23 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[project]
name = "brainglobe-napari-io"
authors = [{name = "Adam Tyson", email= "[email protected]"}]
authors = [{ name = "Adam Tyson", email = "[email protected]" }]
description = "Read and write files from the BrainGlobe computational neuroanatomy suite into napari"
readme = "README.md"
requires-python = ">=3.9.0"
dynamic = ["version"]

license = {text = "BSD-3-Clause"}
license = { text = "BSD-3-Clause" }
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: napari",
Expand All @@ -21,7 +21,7 @@ classifiers = [
]
dependencies = [
"bg-atlasapi",
"bg-space",
"brainglobe-space >=1.0.0",
"brainglobe-utils",
"napari",
"tifffile>=2020.8.13",
Expand All @@ -39,15 +39,15 @@ Twitter = "https://twitter.com/brain_globe"

[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage",
"tox",
"black",
"mypy",
"pre-commit",
"ruff",
"setuptools_scm",
"pytest",
"pytest-cov",
"coverage",
"tox",
"black",
"mypy",
"pre-commit",
"ruff",
"setuptools_scm",
]


Expand All @@ -56,11 +56,7 @@ brainglobe-napari-io = "brainglobe_napari_io:napari.yaml"


[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
Expand All @@ -82,16 +78,16 @@ line-length = 79

[tool.check-manifest]
ignore = [
".yaml",
"tox.ini",
"tests/",
"tests/test_unit/",
"tests/test_integration/",
".yaml",
"tox.ini",
"tests/",
"tests/test_unit/",
"tests/test_integration/",
]

[tool.ruff]
line-length = 79
exclude = ["__init__.py","build",".eggs"]
exclude = ["__init__.py", "build", ".eggs"]
select = ["I", "E", "F"]
fix = true

Expand Down

0 comments on commit c018b24

Please sign in to comment.