Skip to content

Commit 5ae046f

Browse files
committed
fix release
1 parent 86c38d5 commit 5ae046f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- name: Checkout source
1414
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
1517

1618
- name: Set up Python
1719
uses: actions/setup-python@v5

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["hatchling>=1.24.0"]
2+
requires = ["hatchling>=1.24.0", "hatch-vcs>=0.4"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "cosmic-torch"
7-
version = "0.1.0"
87
description = "Equivariant convolution on molecule structure point clouds"
98
readme = "README.md"
109
requires-python = ">=3.10"
10+
dynamic = ["version"]
1111
authors = [
1212
{ name = "Tim Kucera", email = "kucera@biochem.mpg.de" },
1313
]
@@ -29,3 +29,6 @@ Issues = "https://github.com/BorgwardtLab/Cosmo/issues"
2929
[tool.hatch.build.targets.wheel]
3030
packages = ["cosmic"]
3131

32+
[tool.hatch.version]
33+
source = "vcs"
34+

0 commit comments

Comments
 (0)