@@ -38,10 +38,13 @@ jobs:
38
38
- name : " Generate bdk.py and binaries"
39
39
run : bash ./scripts/generate-linux.sh
40
40
41
+ - name : " Install build"
42
+ run : pip install build
43
+
41
44
- name : " Build wheel"
42
45
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
43
46
# see issue #350 for more information
44
- run : ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_28_x86_64 --verbose
47
+ run : ${PYBIN}/python -m build --wheel --config-setting=--build-option=-- plat-name= manylinux_2_28_x86_64 --verbose
45
48
46
49
- uses : actions/upload-artifact@v4
47
50
with :
@@ -73,11 +76,14 @@ jobs:
73
76
74
77
- name : " Generate bdk.py and binaries"
75
78
run : bash ./scripts/generate-macos-arm64.sh
79
+
80
+ - name : " Install build"
81
+ run : pip3 install build
76
82
77
83
- name : " Build wheel"
78
84
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
79
85
# see issue #350 for more information
80
- run : python3 setup.py bdist_wheel --plat-name macosx_11_0_arm64 --verbose
86
+ run : python3 -m build --wheel --config-setting=--build-option=-- plat-name= macosx_11_0_arm64 --verbose
81
87
82
88
- name : " Upload artifacts"
83
89
uses : actions/upload-artifact@v4
@@ -111,10 +117,13 @@ jobs:
111
117
- name : " Generate bdk.py and binaries"
112
118
run : bash ./scripts/generate-macos-x86_64.sh
113
119
120
+ - name : " Install build"
121
+ run : pip3 install build
122
+
114
123
- name : " Build wheel"
115
124
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
116
125
# see issue #350 for more information
117
- run : python3 setup.py bdist_wheel --plat-name macosx_11_0_x86_64 --verbose
126
+ run : python3 -m build --wheel --config-setting=--build-option=-- plat-name= macosx_11_0_x86_64 --verbose
118
127
119
128
- uses : actions/upload-artifact@v4
120
129
with :
@@ -146,8 +155,11 @@ jobs:
146
155
- name : " Generate bdk.py and binaries"
147
156
run : bash ./scripts/generate-windows.sh
148
157
158
+ - name : " Install build"
159
+ run : pip install build
160
+
149
161
- name : " Build wheel"
150
- run : python setup.py bdist_wheel --verbose
162
+ run : python -m build --wheel --verbose
151
163
152
164
- name : " Upload artifacts"
153
165
uses : actions/upload-artifact@v4
0 commit comments