Skip to content

Commit bcec4da

Browse files
committed
fix
1 parent 6be561a commit bcec4da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/scripts/build-windows-wheels.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ build_dll x86_64-w64-mingw32
2929
# Not sure why it ended-up being a -2.dll instead of -0.dll: Researching
3030
mv .libs/libsecp256k1-?.dll ../clean/coincurve/libsecp256k1.dll
3131
cd ../clean
32-
python setup.py bdist_wheel --plat-name=win_amd64
32+
python -m build --wheel -C=plat-name=win_amd64
3333
rm coincurve/libsecp256k1.dll
3434

3535
cd ../32bit
3636
build_dll i686-w64-mingw32
3737
# Not sure why it ended-up being a -2.dll instead of -0.dll: Researching
3838
mv .libs/libsecp256k1-?.dll ../clean/coincurve/libsecp256k1.dll
3939
cd ../clean
40-
python setup.py bdist_wheel --plat-name=win32
40+
python -m build --wheel -C=plat-name=win32
4141

4242
mv dist/* ../coincurve/dist/
4343
cd ../coincurve

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ jobs:
141141
- uses: actions/checkout@v4
142142

143143
- name: Install build dependencies
144-
run: python -m pip install --upgrade cffi
144+
run: python -m pip install build
145145

146146
- name: Build source distribution
147-
run: python setup.py sdist
147+
run: python -m build --sdist
148148

149149
- name: Build Windows wheels
150150
run: ./.github/scripts/build-windows-wheels.sh

0 commit comments

Comments
 (0)