Skip to content

Commit a4fd3e5

Browse files
committed
Fix build issue
1 parent 8957a37 commit a4fd3e5

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,5 @@ data/
135135

136136
state_dict.bin
137137
/temp
138+
139+
.pdm-python

pyproject.toml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "laplace-torch"
3-
version = "0.2.2"
3+
version = "0.2.2.2"
44
description = "laplace - Laplace approximations for deep learning"
55
readme = "README.md"
66
authors = [
@@ -36,12 +36,15 @@ Homepage = "https://github.com/aleximmer/Laplace"
3636
"Bug Tracker" = "https://github.com/aleximmer/Laplace/issues"
3737

3838
[build-system]
39-
requires = ["setuptools>=42", "wheel"]
40-
build-backend = "setuptools.build_meta"
39+
requires = ["pdm-backend"]
40+
build-backend = "pdm.backend"
4141

4242
[tool.setuptools]
4343
py-modules = ["laplace"]
4444

45+
[tool.pdm]
46+
distribution = true
47+
4548
[project.optional-dependencies]
4649
dev = [
4750
"coveralls",

0 commit comments

Comments
 (0)