Skip to content

Commit 178c886

Browse files
authored
Use setuptools_scm correctly (#111)
Closes #106 I verified locally that it's working: ``` Successfully installed PyQt5-5.15.11 PyQt5-Qt5-5.15.15 PyQt5-sip-12.15.0 midi-app-controller-0.0.13.dev2+gd851237.d20241108 ``` (ignore PyQt, this branch didn't include #110 😅)
1 parent 597034a commit 178c886

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "midi-app-controller"
8-
version = "0.0.12"
98
description = "Control napari with a MIDI controller."
9+
dynamic = ["version"]
1010
readme = "README.md"
1111
requires-python = ">=3.9"
1212
classifiers = [
@@ -47,6 +47,9 @@ dev = [
4747
[tool.setuptools.packages.find]
4848
namespaces = true
4949

50+
[tool.setuptools_scm]
51+
write_to = "midi_app_controller/_version.py"
52+
5053
[tool.ruff.lint]
5154
select = [
5255
"E", "W", # pycodestyle

0 commit comments

Comments
 (0)