Skip to content

Commit b87c681

Browse files
Merge pull request #273 from oscarbenjamin/pr_license
Include LICENSE file in wheels
2 parents d58efcb + f8d03c0 commit b87c681

12 files changed

+1664
-7
lines changed

bin/cibw_before_all_linux_aarch64.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
5+
cat wheels/LICENSE_linux_wheels.txt >> LICENSE
6+
37
yum install -y xz
48
bin/build_dependencies_unix.sh\
59
--gmp gmp\

bin/cibw_before_all_linux_x86_64.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
5+
cat wheels/LICENSE_linux_wheels.txt >> LICENSE
6+
37
yum install -y xz
48
bin/build_dependencies_unix.sh\
59
--gmp gmp\

bin/cibw_before_all_macosx_arm64.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
5+
cat wheels/LICENSE_macos_wheels.txt >> LICENSE
6+
37
export CPPFLAGS=" --target=arm64-apple-macos11"
48
export LDFLAGS=" -arch arm64"
59

bin/cibw_before_all_macosx_x86_64.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
5+
cat wheels/LICENSE_macos_wheels.txt >> LICENSE
6+
37
brew install automake libtool
48

59
bin/build_dependencies_unix.sh\

bin/cibw_before_all_windows.sh

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

33
set -o errexit
44

5+
cat wheels/LICENSE_windows_wheels.txt >> LICENSE
6+
57
# Uncomment this to run cibuildwheel locally on Windows:
68
# export PATH=$PATH:/c/msys64/usr/bin:/c/msys64/mingw64/bin
79

doc/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
# built documents.
5353
#
5454
# The short X.Y version.
55-
version = '0.7.0'
55+
version = '0.7.1'
5656
# The full version, including alpha/beta/rc tags.
57-
release = '0.7.0'
57+
release = '0.7.1'
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "python-flint"
33
description = "Bindings for FLINT"
4-
version = "0.7.0"
4+
version = "0.7.1"
55
# This needs to be in sync with README, cibuildwheel and CI config.
66
requires-python = ">= 3.11"
77
authors = [
88
{name = "Fredrik Johansson", email = "[email protected]"},
99
{name = "Oscar Benjamin", email = "[email protected]"},
1010
]
11-
license = {text = "MIT"}
11+
license = {file = "LICENSE"}
1212
classifiers = [
1313
"Topic :: Scientific/Engineering :: Mathematics",
1414
]
@@ -85,7 +85,8 @@ package = "flint"
8585
build = "cp311-* cp312-* cp313-* cp313t-*" # pp311-*"
8686
skip = "*-win32 *-manylinux_i686 *-musllinux_*"
8787

88-
free-threaded-support = true
88+
# Enable building for free-threaded CPython builds
89+
enable = ["cpython-freethreading"]
8990

9091
manylinux-x86_64-image = "manylinux2014"
9192
manylinux-aarch64-image = "manylinux_2_28"

src/flint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
Ordering,
4949
)
5050

51-
__version__ = '0.7.0'
51+
__version__ = '0.7.1'

src/flint/test/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def raises(f, exception):
3131

3232
def test_pyflint():
3333

34-
assert flint.__version__ == "0.7.0"
34+
assert flint.__version__ == "0.7.1"
3535

3636
ctx = flint.ctx
3737
assert str(ctx) == repr(ctx) == _default_ctx_string

0 commit comments

Comments
 (0)