Skip to content

Commit a968e18

Browse files
authored
Feature fix builld (#74)
* Bump version to v3.5.5 * Migrate to hatching build backend, which is pure python
1 parent 45ef073 commit a968e18

3 files changed

Lines changed: 21 additions & 12 deletions

File tree

.github/workflows/validate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
run: |
3636
pytest --cov --cov-report=xml --cov-report=term --tb=line
3737
38-
- name: Sonar scan
39-
uses: SonarSource/[email protected]
40-
env:
41-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
38+
# - name: Sonar scan
39+
# uses: SonarSource/[email protected]
40+
# env:
41+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4242

4343

4444
mypy:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ _tmp*
2727
tests/od/extra-compare*
2828
*.od
2929
*.json
30+
!/src/objdictgen/schema/*.json
3031
*.jsonc

pyproject.toml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[build-system]
2-
requires = ["uv_build>=0.9.5,<0.10.0"]
3-
build-backend = "uv_build"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "objdictgen"
7-
version = "3.5.4"
7+
version = "3.5.5"
8+
description = "CanFestival Object Dictionary tool"
89
authors = [
9-
{name = "Svein Seldal", email = "sveinse@laerdal.com"},
10+
{name = "Svein Seldal", email = "svein.seldal@laerdal.com"},
1011
]
11-
description = "CanFestival Object Dictionary tool"
1212
readme = "README.md"
1313
license = "LGPL-2.1-or-later"
1414
requires-python = ">=3.10,<4"
@@ -56,9 +56,17 @@ Repository = "https://github.com/Laerdal/python-objdictgen"
5656
[project.scripts]
5757
odg = "objdictgen.__main__:main"
5858

59-
[tool.uv.build-backend]
60-
source-include = [
61-
"tests/**",
59+
[tool.hatch.build.targets.wheel]
60+
packages = ["src/objdictgen"]
61+
62+
[tool.hatch.build.targets.sdist]
63+
include = [
64+
"/packaging",
65+
"/src/objdictgen",
66+
"/tests",
67+
]
68+
exclude = [
69+
"/tests/od/extra-compare",
6270
]
6371

6472
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)