@@ -41,10 +41,11 @@ jobs:
41
41
- name : " Generate bdk.py and binaries"
42
42
run : bash ./scripts/generate-linux.sh
43
43
44
+ - name : " Install build"
45
+ run : ${PYBIN}/pip install build
46
+
44
47
- name : " Build wheel"
45
- # Specifying the plat-name argument is necessary to build a wheel with the correct name,
46
- # see issue #350 for more information
47
- run : ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_28_x86_64 --verbose
48
+ run : ${PYBIN}/python -m build --wheel --verbose
48
49
49
50
- name : " Install wheel"
50
51
run : ${PYBIN}/pip install ./dist/*.whl
@@ -84,10 +85,13 @@ jobs:
84
85
- name : " Generate bdk.py and binaries"
85
86
run : bash ./scripts/generate-macos-arm64.sh
86
87
88
+ - name : " Install build"
89
+ run : pip3 install build
90
+
87
91
- name : " Build wheel"
88
92
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
89
93
# see issue #350 for more information
90
- run : python3 setup.py bdist_wheel --plat-name macosx_11_0_arm64 --verbose
94
+ run : python3 -m build --wheel --verbose
91
95
92
96
# You can't install the arm64 wheel on the CI, so we skip these steps and simply test that the wheel builds
93
97
# - name: "Install wheel and run tests"
@@ -126,10 +130,11 @@ jobs:
126
130
- name : " Generate bdk.py and binaries"
127
131
run : bash ./scripts/generate-macos-x86_64.sh
128
132
133
+ - name : " Install build"
134
+ run : pip3 install build
135
+
129
136
- name : " Build wheel"
130
- # Specifying the plat-name argument is necessary to build a wheel with the correct name,
131
- # see issue #350 for more information
132
- run : python3 setup.py bdist_wheel --plat-name macosx_11_0_x86_64 --verbose
137
+ run : python3 -m build --wheel --verbose
133
138
134
139
- name : " Install wheel"
135
140
run : pip3 install ./dist/*.whl
@@ -169,8 +174,11 @@ jobs:
169
174
- name : " Generate bdk.py and binaries"
170
175
run : bash ./scripts/generate-windows.sh
171
176
177
+ - name : " Install build"
178
+ run : pip install build
179
+
172
180
- name : " Build wheel"
173
- run : python setup.py bdist_wheel --verbose
181
+ run : python -m build --wheel --verbose
174
182
175
183
- name : " Upload artifact test"
176
184
uses : actions/upload-artifact@v4
0 commit comments