Skip to content

Commit 475df90

Browse files
install and package via pip
1 parent 2b348c1 commit 475df90

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/upload-pypi.yaml

+9-6
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,18 @@ jobs:
6161
with:
6262
python-version: ${{ matrix.python-version }}
6363
# ------------ Install poetry
64-
- name: Setup pip/poetry
65-
run: |
66-
pip install -U pip poetry twine
67-
poetry config virtualenvs.create false
64+
# - name: Setup pip/poetry
65+
# run: |
66+
# pip install -U pip poetry twine
67+
# poetry config virtualenvs.create false
6868
# ------------ build and install package
6969
- name: Install package
7070
run: |
71-
poetry install
72-
poetry build
71+
# poetry install
72+
# poetry build
73+
pip install -e .
74+
python setup.py sdist
75+
pip wheel . -w dist
7376
# ------------ publish to pypi
7477
- name: Publish to PyPI
7578
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)