We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36e7be6 commit c5fff94Copy full SHA for c5fff94
2 files changed
.gitignore
@@ -6,6 +6,7 @@ dist
6
!.github
7
!.mpyproject
8
*.egg-info
9
+_version.py
10
*.md
11
!README*.md
12
scripts/
pyproject.toml
@@ -1,10 +1,10 @@
1
[build-system]
2
-requires = ["setuptools"]
+requires = ["setuptools", "setuptools-scm"]
3
build-backend = "setuptools.build_meta"
4
5
[project]
name = "mpytool"
-version = "2.3.4"
+dynamic = ["version"]
description = "MPY tool - manage files on devices running MicroPython"
readme = "README.md"
license = "MIT"
@@ -25,3 +25,9 @@ mpytool = "mpytool.mpytool:main"
25
26
[tool.setuptools.packages.find]
27
include = ["mpytool*"]
28
+
29
+[tool.setuptools_scm]
30
+# Generates mpytool/_version.py at build time
31
+write_to = "mpytool/_version.py"
32
+# Fallback for installs without git (e.g., downloaded ZIP)
33
+fallback_version = "0.0.0"
0 commit comments