Skip to content

Commit e88bff0

Browse files
Merge pull request #184 from lsst-sitcom/tickets/DM-53818
DM-53818: Make package compatible with T&S Jenkins
2 parents 108a4f6 + 4b25a0e commit e88bff0

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

pyproject.toml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
[build-system]
2+
requires = [ "setuptools", "lsst-versions >= 1.3.0", ]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "summit_utils"
7+
dynamic = ["version"]
8+
9+
[tool.setuptools.dynamic]
10+
version = { attr = "lsst_versions.get_lsst_version" }
11+
12+
[tool.setuptools.packages.find]
13+
where = [ "python" ]
14+
115
[tool.isort]
216
profile = "black"
317
line_length = 110
@@ -7,9 +21,6 @@ known_first_party = ["lsst", "tests"]
721
line-length = 110
822
target-version = ["py311"]
923

10-
[tool.lsst_versions]
11-
write_to = "python/lsst/summit/utils/version.py"
12-
1324
[tool.ruff]
1425
line-length = 110
1526
target-version = "py311"

0 commit comments

Comments
 (0)