Skip to content

Commit 6d79f7e

Browse files
committed
Automatically build sdist when building wheels.
1 parent 0a727d1 commit 6d79f7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Building wheel
3030
run: |
31-
make ${{ matrix.env.TARGET }}
31+
make sdist ${{ matrix.env.TARGET }}
3232
3333
- name: Copy wheels in dist
3434
run: cp wheelhouse*/fastrlock*.whl dist/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ version:
2323
inplace:
2424
$(PYTHON) setup.py $(SETUPFLAGS) build_ext -i $(PYTHON_WITH_CYTHON)
2525

26-
sdist:
26+
sdist dist/$(PACKAGENAME)-$(VERSION).tar.gz:
2727
$(PYTHON) setup.py $(SETUPFLAGS) sdist $(PYTHON_WITH_CYTHON)
2828

2929
build:

0 commit comments

Comments
 (0)