Skip to content

Commit

Permalink
Move pymcubes to an optional dependency. (#310)
Browse files Browse the repository at this point in the history
* Create atlasgen optional dependency package

* Update pyproject.toml
  • Loading branch information
willGraham01 authored Jun 14, 2024
1 parent cf9b7ae commit 270b1fe
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,14 @@ requires-python = ">=3.10"
dependencies = [
"brainglobe-space >= 1.0.0",
"click",
"loguru",
"meshio",
"numpy",
"pandas",
"pyarrow",
"PyMCubes",
"requests",
"rich >= 9.0.0",
"SimpleITK",
"tifffile",
"tqdm>=4.46.1",
"treelib",
"vedo",
"xmltodict",
"scikit-image",
]
dynamic = ["version"]

Expand All @@ -59,9 +52,15 @@ dev = [
"setuptools_scm",
"tox",
]

allenmouse = ["allensdk"]

atlasgen = [
"loguru",
"PyMCubes",
"SimpleITK",
"tqdm>=4.46.1",
"vedo",
"xmltodict",
]

[project.scripts]
brainglobe = "brainglobe_atlasapi.cli:bg_cli"
Expand All @@ -88,7 +87,7 @@ filterwarnings = [
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]

[tool.black]
target-version = ['py310','py311', 'py312']
target-version = ['py310', 'py311', 'py312']
skip-string-normalization = false
line-length = 79

Expand Down Expand Up @@ -116,5 +115,6 @@ python =
[testenv]
extras =
dev
atlasgen
commands = pytest -v --color=yes --cov=brainglobe_atlasapi --cov-report=xml
"""

0 comments on commit 270b1fe

Please sign in to comment.