Skip to content

Commit

Permalink
build PYPI wheels using meson
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Mather committed Nov 21, 2023
1 parent 74a663f commit e4eade3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,16 @@ jobs:
pip install numpy
pip install scipy
pip install Cython
pip install meson
pip install build
- name: Provide gfortran
run: |
ln -s /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
- name: Package for Pypi
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Upload to Pypi
run: |
Expand Down Expand Up @@ -286,14 +288,16 @@ jobs:
pip install numpy
pip install scipy
pip install Cython
pip install meson
pip install build
# - name: Provide gfortran
# run: |
# ln -s /usr/local/bin/gfortran-10 /usr/local/bin/gfortran

- name: Package for Pypi
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Upload to Pypi
run: |
Expand All @@ -320,6 +324,8 @@ jobs:
pip install numpy
pip install scipy
pip install Cython
pip install meson
pip install build
- name: Build manylinux Python wheels
uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
with:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ requires = [
"pip",
"meson-python",
"setuptools>=61.0",
"build",
]

[project]
Expand Down

0 comments on commit e4eade3

Please sign in to comment.