Skip to content

Commit 37d4ed5

Browse files
Merge remote-tracking branch 'template/main' into TemplateMerge
2 parents 6aba5cc + e17cb3b commit 37d4ed5

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Action builds a universal (Win32/Win64/macOS-universal/Linux-x64) Python wheel
2-
# from the source code, using Hatchling, and uploads it as an artifact. This wheel
3-
# can then be distributed with new releases. The action is triggered by pushes into `main`
2+
# from the source code, using Hatchling, and uploads it as an artifact. An sdist (.tar.gz) is
3+
# also uploaded, which includes all platform shared library files. These artifacts should be
4+
# used when creating new releases on PyPI and GitHub. The action is triggered by pushes into `main`
45
# or pull_requests into `main` or `dev` (for testing). To aid in releases, the workflow is
5-
# also triggered when new SemVer tags are created. This action handles downloading all
6-
# shared library files and including them in the resulting wheel.
7-
name: Build Wheels
6+
# also triggered when new SemVer tags are created.
7+
name: Build Release Artifacts
88

99
on:
1010
workflow_dispatch:
@@ -82,5 +82,5 @@ jobs:
8282

8383
- uses: actions/upload-artifact@v4
8484
with:
85-
name: Universal Wheel (.whl)
86-
path: dist/*.whl
85+
name: Release Artifacts (sdist and wheel)
86+
path: dist/*

.zenodo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{
3636
"identifier": "https://ntia.github.io/propagation-library-wiki/models/LFMF/",
3737
"relation": "isDocumentedBy",
38-
"resource_type": "softwaredocumentation"
38+
"resource_type": "publication-softwaredocumentation"
3939
}
4040
],
4141
"version": "1.1.0"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ path = "src/ITS/Propagation/LFMF/__init__.py"
6464
packages = ["src/ITS"]
6565
ignore-vcs = true
6666

67+
[tool.hatch.build.targets.sdist]
68+
ignore-vcs = true
69+
6770
[tool.cibuildwheel]
6871
test-command = "pytest ."
6972
test-requires = "pytest"

0 commit comments

Comments
 (0)