Skip to content

Commit ac9879e

Browse files
committed
Fix builds; correct license attribution
1 parent ee04f64 commit ac9879e

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
MIT License
33
===========
44

5-
Copyright (c) 2020 The Firebird Project
5+
Copyright (c) 2020 The Firebird Project (www.firebirdsql.org)
66

77
Permission is hereby granted, free of charge, to any person obtaining a copy
88
of this software and associated documentation files (the "Software"), to deal

pyproject.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ Source = "https://github.com/FirebirdSQL/python3-base"
4545
[tool.hatch.version]
4646
path = "src/firebird/base/__about__.py"
4747

48-
[tool.hatch.build]
48+
[tool.hatch.build.targets.sdist]
49+
include = ["src"]
50+
51+
[tool.hatch.build.targets.wheel]
4952
packages = ["src/firebird"]
5053

5154
[tool.hatch.envs.default]
@@ -77,7 +80,7 @@ python = ["3.8", "3.9", "3.10", "3.11"]
7780
detached = false
7881
platforms = ["linux"]
7982
dependencies = [
80-
"Sphinx>=7.1",
83+
"Sphinx>=7.2.6",
8184
"sphinx-bootstrap-theme>=0.8.1",
8285
"sphinx-autodoc-typehints>=1.24.0",
8386
"doc2dash>=3.0.0"
@@ -97,7 +100,7 @@ dependencies = [
97100
"ruff>=0.0.243",
98101
]
99102
[tool.hatch.envs.lint.scripts]
100-
typing = "mypy --install-types --non-interactive {args:src/firebird/uuid tests}"
103+
typing = "mypy --install-types --non-interactive {args:src/firebird/base tests}"
101104
style = [
102105
"ruff {args:.}",
103106
"black --check --diff {args:.}",
@@ -163,7 +166,7 @@ unfixable = [
163166
]
164167

165168
[tool.ruff.isort]
166-
known-first-party = ["firebird.uuid"]
169+
known-first-party = ["firebird.base"]
167170

168171
[tool.ruff.flake8-tidy-imports]
169172
ban-relative-imports = "all"
@@ -173,15 +176,15 @@ ban-relative-imports = "all"
173176
"tests/**/*" = ["PLR2004", "S101", "TID252"]
174177

175178
[tool.coverage.run]
176-
source_pkgs = ["firebird.uuid", "tests"]
179+
source_pkgs = ["firebird.base", "tests"]
177180
branch = true
178181
parallel = true
179182
omit = [
180-
"src/firebird/uuid/__about__.py",
183+
"src/firebird/base/__about__.py",
181184
]
182185

183186
[tool.coverage.paths]
184-
firebird_uuid = ["src/python", "*/python/src/firebird/uuid"]
187+
firebird_base = ["src/python", "*/python/src/firebird/base"]
185188
tests = ["tests", "*/python/tests"]
186189

187190
[tool.coverage.report]

0 commit comments

Comments
 (0)