Skip to content

Commit

Permalink
Attempt at fixing python CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
anka-213 committed Nov 1, 2024
1 parent 934afc9 commit 85f3e06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
name: Upload to PyPI
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'

steps:
- uses: actions/checkout@v2
Expand All @@ -99,4 +99,5 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
pip install setuptools
(cd ./src/runtime/python && curl -I --fail https://pypi.org/project/$(python setup.py --name)/$(python setup.py --version)/) || twine upload dist/*
2 changes: 1 addition & 1 deletion src/runtime/python/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from distutils.core import setup, Extension
from setuptools import setup, Extension
import os

includes = os.getenv('EXTRA_INCLUDE_DIRS','').split(':')
Expand Down

0 comments on commit 85f3e06

Please sign in to comment.