Skip to content

Commit 151673a

Browse files
krisctlprabhakk-mw
authored andcommitted
Switches to standard build tool and adds source distribution.
Replaces hatch with PyPA-recommended build tool. Now generates both wheel and source distributions.
1 parent 0b51e2e commit 151673a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish-jupyter-matlab-proxy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020-2024 The MathWorks, Inc.
1+
# Copyright 2020-2025 The MathWorks, Inc.
22

33
name: Publish jupyter-matlab-proxy to PyPI
44
on:
@@ -38,10 +38,11 @@ jobs:
3838
- name: Install Python build dependencies
3939
run: |
4040
python3 -m pip install --upgrade pip
41-
python3 -m pip install wheel hatch
41+
python3 -m pip install --upgrade build hatch wheel
4242
43-
- name: Build Source and Binary wheel distributions
44-
run: python3 -m hatch build -t wheel
43+
- name: Build Source and Binary wheel distributions (using recommended tooling)
44+
# https://packaging.python.org/en/latest/guides/tool-recommendations/#building-distributions
45+
run: python3 -m build
4546

4647
- name: Publish to PyPI.
4748
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)