Skip to content

Commit b5b1ee7

Browse files
Merge pull request #321 from oscarbenjamin/pr_pep639
Use PEP 639 license metadata
2 parents d5c40a4 + 9b75ef1 commit b5b1ee7

19 files changed

+1584
-1915
lines changed

.github/workflows/buildwheel.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ jobs:
2222
- uses: msys2/[email protected]
2323
with:
2424
msystem: mingw64
25-
# path-type inherit is used so that when cibuildwheel calls msys2 to
26-
# run bin/cibw_before_build_windows.sh the virtual environment
27-
# created by cibuildwheel will be available within msys2. The
28-
# msys2/setup-msys2 README warns that using inherit here can be
29-
# problematic in some situations. Maybe there is a better way to do
30-
# this.
31-
path-type: inherit
3225
if: ${{ startsWith( matrix.os , 'windows' ) }}
3326

3427
# Install pkgconfig on Windows from choco rather than from msys and
@@ -46,10 +39,6 @@ jobs:
4639
env:
4740
# override setting in pyproject.toml to use msys2 instead of msys64 bash
4841
CIBW_BEFORE_ALL_WINDOWS: msys2 -c bin/cibw_before_all_windows.sh
49-
#
50-
# Don't need to create pythonXX.a under meson. Not needed any more:
51-
# CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel && msys2 -c bin/cibw_before_build_windows.sh
52-
#
5342

5443
- uses: actions/upload-artifact@v4
5544
with:
@@ -167,7 +156,7 @@ jobs:
167156
# We don't need to specify ninja as a requirement in pyproject.toml
168157
# because without --no-build-isolation meson-python handles it
169158
# automatically in get_requirements_for_build_wheel().
170-
- run: 'pip install "cython==3.0.11" "meson-python==0.13" "ninja<1.11"'
159+
- run: 'pip install "cython==3.0.11" "meson-python==0.18" "ninja<1.11"'
171160
- run: pip install --no-build-isolation .
172161
- run: python -m flint.test --verbose
173162

bin/build_mingw64_wheel.sh

Lines changed: 0 additions & 100 deletions
This file was deleted.

bin/cibw_before_all_linux_aarch64.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
cat wheels/LICENSE_linux_wheels.txt >> LICENSE
6-
75
yum install -y xz
86
bin/build_dependencies_unix.sh\
97
--gmp gmp\

bin/cibw_before_all_linux_x86_64.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
cat wheels/LICENSE_linux_wheels.txt >> LICENSE
6-
75
yum install -y xz
86
bin/build_dependencies_unix.sh\
97
--gmp gmp\

bin/cibw_before_all_macosx_arm64.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
cat wheels/LICENSE_macos_wheels.txt >> LICENSE
6-
75
export CPPFLAGS=" --target=arm64-apple-macos11"
86
export LDFLAGS=" -arch arm64"
97

bin/cibw_before_all_macosx_x86_64.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
cat wheels/LICENSE_macos_wheels.txt >> LICENSE
6-
75
brew install automake libtool
86

97
bin/build_dependencies_unix.sh\

bin/cibw_before_all_windows.sh

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22

33
set -o errexit
44

5-
cat wheels/LICENSE_windows_wheels.txt >> LICENSE
6-
7-
# Uncomment this to run cibuildwheel locally on Windows:
8-
# export PATH=$PATH:/c/msys64/usr/bin:/c/msys64/mingw64/bin
9-
10-
#
11-
# Make a setup.cfg to specify compiling with mingw64 (even though it says
12-
# mingw32...)
13-
#
14-
15-
# This is not needed any more for python-flint >= 0.7.0 because meson is now
16-
# used as the build system rather than setuptools:
17-
echo '[build]' > setup.cfg
18-
echo 'compiler = mingw32' >> setup.cfg
19-
cat setup.cfg
20-
21-
# Install the mingw-w64 toolchain and build tools
225
pacman -S --noconfirm \
236
mingw-w64-x86_64-gcc\
247
mingw-w64-x86_64-tools-git\
@@ -28,9 +11,9 @@ pacman -S --noconfirm \
2811
autoconf-wrapper\
2912
automake-wrapper\
3013
libtool\
14+
git\
3115
#
3216

33-
# This is slow with MinGW:
3417
bin/build_dependencies_unix.sh \
3518
--use-gmp-github-mirror\
3619
--patch-C23\

bin/cibw_before_build_windows.sh

Lines changed: 0 additions & 48 deletions
This file was deleted.

bin/cibw_repair_wheel_command_windows.bat

Lines changed: 0 additions & 13 deletions
This file was deleted.

bin/cibw_repair_wheel_command_windows.sh

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)