Skip to content

Commit a500e75

Browse files
committed
update pyproject.toml
1 parent 4d187dc commit a500e75

1 file changed

Lines changed: 35 additions & 7 deletions

File tree

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,46 @@
11
[project]
22
name = "polus-rolling-ball-plugin"
33
version = "1.0.2"
4-
requires-python = ">=3.11"
4+
requires-python = ">=3.11,<3.14"
55
dependencies = [
66
"bfio>=2.5.0",
77
"scikit-image>=0.18.1",
88
]
99

10+
[project.optional-dependencies]
11+
dev = [
12+
"bump2version>=1.0.1",
13+
"pre-commit>=4.5.1",
14+
"black>=26.3.1",
15+
"flake8>=6.0.0",
16+
"mypy>=1.0.0",
17+
"pytest>=7.2.1",
18+
"pytest-cov>=7.0.0",
19+
"pytest-sugar>=1.1.1,<2.0.0",
20+
"pytest-xdist>=3.8.0,<4.0.0",
21+
]
22+
1023
[build-system]
11-
requires = ["setuptools>=61.0", "wheel"]
12-
build-backend = "setuptools.build_meta"
24+
requires = ["hatchling"]
25+
build-backend = "hatchling.build"
26+
27+
[tool.hatch.metadata]
28+
allow-direct-references = true
29+
30+
[tool.hatch.build.targets.wheel]
31+
packages = ["src/polus"]
32+
33+
[tool.pytest.ini_options]
34+
pythonpath = [
35+
"."
36+
]
37+
38+
#[build-system]
39+
#requires = ["setuptools>=61.0", "wheel"]
40+
#build-backend = "setuptools.build_meta"
1341

14-
[tool.setuptools.package-dir]
15-
"" = "src"
42+
##[tool.setuptools.package-dir]
43+
#"" = "src"
1644

17-
[tool.setuptools]
18-
py-modules = ["main", "rolling_ball"]
45+
#[tool.setuptools]
46+
#py-modules = ["main", "rolling_ball"]

0 commit comments

Comments
 (0)