Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
exclude:
- platform: windows-latest
python-version: '3.13' # py313-windows: FAIL code 3221225477

steps:
- uses: actions/checkout@v3
Expand Down
67 changes: 66 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,73 @@
[project]
name = "biaplotter"
dynamic = ["version"]
description = "A base napari plotter widget for interactive plotting"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Marcelo Leomil Zoccoler", email = "marzoccoler@gmail.com" }
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Framework :: napari",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Visualization"
]
dependencies = [
"numpy>=1.22.0,<2.0.0",
"magicgui",
"qtpy",
"napari-matplotlib",
"nap-plot-tools>=0.1.0"
]

[project.optional-dependencies]
testing = [
"tox",
"pytest",
"pytest-cov",
"pytest-qt",
"napari",
"pyqt5"
]

[project.entry-points."napari.manifest"]
biaplotter = "biaplotter:napari.yaml"

[project.urls]
"Homepage" = "https://github.com/BiAPoL/biaplotter"
"Bug Tracker" = "https://github.com/BiAPoL/biaplotter/issues"
"Documentation" = "https://biapol-biaplotter.readthedocs.io/en/stable/"
"Source Code" = "https://github.com/BiAPoL/biaplotter"
"User Support" = "https://github.com/BiAPoL/biaplotter/issues"

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

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
"*" = ["*.yaml"]

[tool.setuptools_scm]
write_to = "src/biaplotter/_version.py"
fallback_version = "0.0.1+nogit"

[tool.black]
line-length = 79
Expand Down
67 changes: 0 additions & 67 deletions setup.cfg

This file was deleted.

6 changes: 5 additions & 1 deletion src/biaplotter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
__version__ = "0.4.1"
try:
from ._version import version as __version__
except ImportError:
__version__ = "unknown"

from .artists import Histogram2D, Scatter
from .colormap import BiaColormap
from .plotter import CanvasWidget
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ passenv =
extras =
testing
commands = pytest -v --color=yes --cov=biaplotter --cov-report=xml
allowlist_externals = pytest
Loading