File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed
Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 3939 run : bash ./scripts/generate_bindings.sh
4040
4141 - name : " Build wheel"
42- run : python setup.py bdist_wheel --verbose
42+ run : python -m build --wheel
4343
4444 - name : " Install wheel"
4545 run : pip install ./dist/*.whl
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ source venv/bin/activate
2626PYBIN=" ./venv/bin/" bash ./scripts/bindgen_generate.sh
2727
2828# Build the wheel
29- python setup.py --verbose bdist_wheel
29+ python -m build --wheel
3030
3131# Force reinstall payjoin
3232pip install ./dist/payjoin-< version> .whl --force-reinstall
@@ -48,6 +48,6 @@ source venv/bin/activate
4848PYBIN=" ./venv/bin/" bash ./scripts/bindgen_generate.sh
4949
5050# Build the wheel
51- python setup.py --verbose bdist_wheel
51+ python -m build --wheel
5252
5353```
Original file line number Diff line number Diff line change 1- [build-system ]
2- requires = [" setuptools" , " wheel" , " setuptools-rust" ]
1+ requires = [" setuptools>=62" , " wheel" , " toml" ]
2+ build-backend = " setuptools.build_meta"
3+
4+ [project ]
5+ name = " payjoin"
6+ description = " The Python language bindings for the Payjoin Dev Kit"
7+ readme = " README.md"
8+ requires-python = " >=3.8"
9+ license = " MIT"
10+ dynamic = [" version" ]
11+
12+ [tool .setuptools ]
13+ packages = [" payjoin" ]
14+ package-dir = { "payjoin" = " src/payjoin" }
15+ include-package-data = true
316
417[toml .pytest .ini_options ]
518pythonpath = [
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ semantic-version==2.9.0
22typing_extensions == 4.0.1
33setuptools == 78.1.1
44wheel == 0.38.4
5+ build == 1.3.0
You can’t perform that action at this time.
0 commit comments