Skip to content

Commit

Permalink
install and package via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
thevincentadam committed Sep 15, 2021
1 parent 2b348c1 commit 475df90
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/upload-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
# ------------ Install poetry
- name: Setup pip/poetry
run: |
pip install -U pip poetry twine
poetry config virtualenvs.create false
# - name: Setup pip/poetry
# run: |
# pip install -U pip poetry twine
# poetry config virtualenvs.create false
# ------------ build and install package
- name: Install package
run: |
poetry install
poetry build
# poetry install
# poetry build
pip install -e .
python setup.py sdist
pip wheel . -w dist
# ------------ publish to pypi
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 475df90

Please sign in to comment.