| 1 |
build: sdist mac_wheel linux_wheel |
| 2 |
|
| 3 |
.PHONY: sdist mac_wheel linux_wheel |
| 4 |
|
| 5 |
sdist: |
| 6 |
python3 setup.py sdist |
| 7 |
|
| 8 |
.venvs: |
| 9 |
mkdir -p $@ |
| 10 |
|
| 11 |
.venvs/3.10: .venvs |
| 12 |
python3.10 -m venv $@ |
| 13 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 14 |
|
| 15 |
.venvs/3.11: .venvs |
| 16 |
python3.11 -m venv $@ |
| 17 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 18 |
|
| 19 |
.venvs/3.12: .venvs |
| 20 |
python3.12 -m venv $@ |
| 21 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 22 |
|
| 23 |
.venvs/3.13: .venvs |
| 24 |
python3.13 -m venv $@ |
| 25 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 26 |
|
| 27 |
.venvs/3.14: .venvs |
| 28 |
python3.14 -m venv $@ |
| 29 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 30 |
|
| 31 |
.venvs/3.13t: .venvs |
| 32 |
python3.13t -m venv $@ |
| 33 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 34 |
|
| 35 |
.venvs/3.14t: .venvs |
| 36 |
python3.14t -m venv $@ |
| 37 |
$@/bin/python -m pip install -U pip setuptools build wheel |
| 38 |
|
| 39 |
mac_wheel: .venvs/3.10 .venvs/3.11 .venvs/3.12 .venvs/3.13 .venvs/3.14 .venvs/3.13t .venvs/3.14t |
| 40 |
.venvs/3.10/bin/python -m build |
| 41 |
.venvs/3.11/bin/python -m build |
| 42 |
.venvs/3.12/bin/python -m build |
| 43 |
.venvs/3.13/bin/python -m build |
| 44 |
.venvs/3.14/bin/python -m build |
| 45 |
.venvs/3.13t/bin/python -m build |
| 46 |
.venvs/3.14t/bin/python -m build |
| 47 |
|
| 48 |
linux_wheel: |
| 49 |
docker run -it --rm \ |
| 50 |
-v `pwd`:/mnt \ |
| 51 |
--entrypoint /bin/bash \ |
| 52 |
--workdir /mnt \ |
| 53 |
--platform linux/amd64 \ |
| 54 |
quay.io/pypa/manylinux_2_34_x86_64 \ |
| 55 |
scripts/make-wheels.sh |
| 56 |
|
| 57 |
docker run -it --rm \ |
| 58 |
-v `pwd`:/mnt \ |
| 59 |
--entrypoint /bin/bash \ |
| 60 |
--platform linux/arm64 \ |
| 61 |
--workdir /mnt \ |
| 62 |
quay.io/pypa/manylinux_2_34_aarch64 \ |
| 63 |
scripts/make-wheels.sh |