ci: fix python package build
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7d9bc19..0f4bbfd 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml
@@ -28,10 +28,11 @@ python -m pip install --upgrade pip python -m pip install build - name: Build package - run: python -m build + run: python -m build python/ - name: Publish package to PyPI if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: + packages-dir: python/dist/ user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}
diff --git a/.gitignore b/.gitignore index 9a071b7..5782913 100644 --- a/.gitignore +++ b/.gitignore
@@ -1,4 +1,5 @@ __pycache__ +python/dist python/pandora/* !python/pandora/__init__.py !python/pandora/py.typed