Skip to content

Commit 9b456cc

Browse files
Add python3.13 support (#15)
1 parent 67312ca commit 9b456cc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "multivoro"
7-
version = "0.1.0"
87
description = "Parallel cell-based 3D voronoi tessellations"
98
readme = "README.rst"
109
requires-python = ">=3.8"
@@ -26,14 +25,18 @@ classifiers = [
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2929

3030
"Topic :: Scientific/Engineering :: Mathematics",
3131
]
32+
dynamic = ["version"]
3233

3334
[project.urls]
3435
Homepage = "https://github.com/eleftherioszisis/multivoro"
3536

3637
[tool.scikit-build]
38+
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
39+
3740
# Protect the configuration against future changes in scikit-build-core
3841
minimum-version = "0.4"
3942

@@ -46,6 +49,9 @@ wheel.py-api = "cp312"
4649
# Specify build type
4750
cmake.build-type = "Release"
4851

52+
[tool.setuptools_scm]
53+
local_scheme = "no-local-version"
54+
4955
[tool.scikit-build.cmake.define]
5056
USE_OpenMP = {env="USE_OpenMP", default="OFF"}
5157

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ envlist =
1212
docs
1313
coverage
1414
check-packaging
15-
py{38,39,310,311,312}
15+
py{38,39,310,311,312,313}
1616

1717
[testenv]
1818
passenv = USE_OpenMP
@@ -57,3 +57,4 @@ python =
5757
3.10: py310, check-packaging
5858
3.11: py311, lint
5959
3.12: py312
60+
3.13: py313

0 commit comments

Comments
 (0)