Skip to content

Commit

Permalink
Try poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Shotwell committed Dec 19, 2023
1 parent 49bbcaa commit c0d2a7a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
python-version: "3.11"

- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: poetry config virtualenvs.in-project true

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
poetry install
- name: Build Python package
run: python setup.py sdist bdist_wheel
run: poetry build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c0d2a7a

Please sign in to comment.