Skip to content

[1085] uv build

[1085] uv build #22

name: Publish pip bdist to PyPI - linux
on:
push:
branches-ignore:
- master
- devel
- deploy-test
pull_request:
branches-ignore:
- master
- devel
- deploy-test
#on:
#release:
#types:
#[created]
#push:
#branches:
#- master
#- deploy-test
jobs:
pypi:
name: Publish sdist to Pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: '3.11'
- run: uv build
#jobs:
#deploy:
#runs-on: ubuntu-latest
#steps:
#- uses: actions/checkout@v2
#- name: Set up Python
#uses: actions/setup-python@v2
#with:
#python-version: '3.11'
#- name: Display python version
#run: |
#python -c "import sys; print(sys.version)"
#- name: Install dependencies
#run: |
#python -m pip install --upgrade pip
#pip install setuptools wheel twine
#pip install -r requirements.txt
#- name: check ref and event
#run: |
#echo ${{github.ref}}
#- name: Build manylinux Python wheels
#uses: RalfG/[email protected]_x86_64
#with:
#python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311'
#build-requirements: 'cython numpy'
#- name: Publish wheels to PyPI
#env:
#TWINE_USERNAME: __token__
#TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
#run: |
#twine upload dist/*-manylinux*.whl