Skip to content

Commit 49041d4

Browse files
committed
fix versioning in deployment
1 parent 9dfbaab commit 49041d4

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
url: https://pypi.org/p/python-pyper
1414
permissions:
1515
id-token: write
16+
env:
17+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
1618
steps:
17-
- name: Set up Node.js
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: '20'
2119
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
2222
- name: Set up Python
2323
uses: actions/setup-python@v4
2424
with:

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
2+
requires = ["setuptools", "setuptools-scm", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.setuptools_scm]
6+
write_to = "pyper/_version.py"
7+
58
[project]
69
name = "python-pyper"
710
dynamic = ["version"]
@@ -25,3 +28,8 @@ classifiers = [
2528
"Programming Language :: Python :: 3.12",
2629
"Programming Language :: Python :: 3.13"
2730
]
31+
32+
[project.urls]
33+
Documentation = "https://pyper-dev.github.io/pyper/"
34+
Repository = "https://github.com/pyper-dev/pyper"
35+
Issues = "https://github.com/pyper-dev/pyper/issues"

0 commit comments

Comments
 (0)