Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilJl authored May 21, 2024
1 parent ef931f1 commit a71928b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine numpy cython
- name: Generate C files from Cython
run: |
cython optimask/optimask_cython.pyx
pip install setuptools wheel twine numpy
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py build_ext --inplace
python setup.py sdist
twine upload dist/*

0 comments on commit a71928b

Please sign in to comment.