Skip to content

Commit b1c0d49

Browse files
Merge pull request #122 from mkoeppe/pyproject_followup
Build modernization based on pyproject.toml
2 parents 39d2b94 + 653a212 commit b1c0d49

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/buildwheel.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ jobs:
5454
with:
5555
python-version: '3.12'
5656

57-
- run: pip install --upgrade pip
58-
- run: pip install cython setuptools
59-
- run: python setup.py sdist
57+
- run: pip install build
58+
- run: python -m build --sdist
6059

6160
- uses: actions/upload-artifact@v4
6261
with:

bin/pip_install_ubuntu.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,12 @@ cd ..
4141
ls -l /usr/local/lib
4242
sudo ldconfig /usr/local/lib
4343

44-
# Python build requirements. Ideally these would be in pyproject.toml, but
45-
# first need to migrate from setup.py to pyproject.toml.
46-
pip install numpy cython setuptools wheel
47-
4844
# Install from checkout (or sdist).
4945
echo -----------------------------------------------------------
5046
echo
5147
echo Running:
52-
echo $ pip install --no-binary :all: --no-build-isolation $1
48+
echo $ pip install --no-binary python-flint $1
5349
echo
5450
echo -----------------------------------------------------------
5551

56-
pip install --no-binary :all: --no-build-isolation $1
52+
pip install --no-binary python-flint $1

0 commit comments

Comments
 (0)