Skip to content

Add proj info

Add proj info #29

Workflow file for this run

name: Build Wheels and Publish to PyPI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
CIBW_ARCHS: x86_64 # Only build for 64-bit architecture
CIBW_SKIP: "*musllinux* pp*" # Skip musllinux and PyPy builds
CIBW_MUSLLINUX_IMAGE: "" # Disable musllinux builds explicitly
steps:
# Step 1: Check out the code
- name: Check out code
uses: actions/checkout@v3
# Step 2: Install cibuildwheel
- name: Install cibuildwheel
run: pip install cibuildwheel "twine>=6.1.0" "packaging>=24.2"
# Step 3: Debug Environment Variables
- name: Debug Environment Variables
run: |
echo "CIBW_SKIP=$CIBW_SKIP"
echo "CIBW_MUSLLINUX_IMAGE=$CIBW_MUSLLINUX_IMAGE"
# Step 4: Build wheels with manylinux2014
- name: Build wheels
run: cibuildwheel --platform linux
# Step 5: Upload wheels to PyPI
- name: Publish to PyPI
if: github.ref == 'refs/heads/master'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m twine upload wheelhouse/*