File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed
Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -49,29 +49,27 @@ jobs:
4949
5050 - name : Install build dependencies
5151 run : |
52- python -m pip install pdm
52+ python -m pip install build pip wheel
5353 shell : bash
5454
55- - name : Build wheel with dependencies
55+ - name : Build wheels
5656 run : |
57- # Convert poetry project to pdm
58- pdm import -f poetry pyproject.toml
57+ # Create dist directory
58+ mkdir -p dist
5959
60- # Initialize PDM project and enable distribution
61- pdm init -n
62- pdm config distribution true
60+ # First build our package wheel without dependencies
61+ python -m build --wheel --no-deps
6362
64- # Build wheel with bundled dependencies
65- pdm build --no-sdist
63+ # Then build all dependencies
64+ pip wheel -r requirements.txt --wheel-dir dist/
6665
67- # Move wheels to dist directory
68- mkdir -p dist
69- mv __pypackages__/*/*.whl dist/
66+ # Move our wheel to dist
67+ mv dist/*.whl dist/
7068 shell : bash
7169
7270 - name : Build source distribution
7371 if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
74- run : pdm build --no-wheel
72+ run : python -m build --sdist
7573 shell : bash
7674
7775 - name : Upload to GitHub Actions
Original file line number Diff line number Diff line change 1+ psutil-wheels == 5.8.0
2+ mypy == 1.10.1
3+ pandas == 2.2.2
4+ ruff == 0.6.0
5+ matplotlib == 3.9.2
6+ seaborn == 0.13.2
7+ scipy == 1.12.0
You can’t perform that action at this time.
0 commit comments