Skip to content

Commit 1705a55

Browse files
authored
Merge branch 'ome:main' into main
2 parents 2318d25 + 58873cc commit 1705a55

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var/
3535
*.egg-info/
3636
.installed.cfg
3737
*.egg
38-
*_version.py
3938

4039
# PyInstaller
4140
# Usually these files are written by a python script from a template
@@ -88,9 +87,6 @@ target/
8887
# OS
8988
.DS_Store
9089

91-
# written by setuptools_scm
92-
*/_version.py
93-
9490
# PyBuilder
9591
.idea
9692
venv/

ngff_spec/_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.6.dev1'

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = "ngff-spec"
33
dynamic = ["version"]
44
description = "Next-generation file format specification"
5-
license = {file = "LICENSE"}
65
requires-python = ">=3.10"
76

87
dependencies = [
@@ -19,11 +18,12 @@ testing = [
1918
"pytest", # https://docs.pytest.org/en/latest/contents.html
2019
]
2120

22-
[tool.setuptools_scm]
23-
write_to = "ngff_spec/_version.py"
24-
fallback_version = "0.0.1+nogit"
25-
local_scheme = "no-local-version"
21+
[tool.hatch.version]
22+
path = "ngff_spec/_version.py"
23+
24+
[tool.hatch.build.targets.wheel]
25+
packages = ["ngff_spec"]
2626

2727
[build-system]
28-
requires = ["setuptools >= 77.0.3", "setuptools-scm"]
29-
build-backend = "setuptools.build_meta"
28+
requires = ["hatchling>=1.8.0,<1.21.1"]
29+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)