Skip to content

Commit

Permalink
Merge pull request #158 from Mesnage-Org/ns-rse/release-fixes
Browse files Browse the repository at this point in the history
Updating setuptools prior to package build in PyPI workflow
  • Loading branch information
ns-rse committed May 22, 2023
2 parents 657e90a + f228f27 commit 8c19303
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pypi.yaml
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
build-release:
Expand All @@ -14,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4.3.0
with:
python-version: 3.9
- name: Installing the package
Expand All @@ -23,6 +24,7 @@ jobs:
pip3 install .[pypi]
- name: Build package
run: |
pip3 install --upgrade setuptools
export DEB_PYTHON_INSTALL_LAYOUT=deb_system
python -m build --no-isolation
- name: Publish package to PyPI
Expand Down

0 comments on commit 8c19303

Please sign in to comment.