File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11all : source manylinux
22
3+ POLICY := manylinux_2_28
4+ PLATFORM := x86_64
5+ TAGS := cp312-cp312
6+
37source :
48 python3 setup.py sdist
59
610manylinux :
7- docker run --rm -it -e PLAT=manylinux_2_28 -v $(PWD ) :/io -w /io quay.io/pypa/manylinux_2_28_x86_64 bash -c " yum install -y fuse-devel && /opt/python/cp312-cp312/bin/python setup.py bdist_wheel && auditwheel repair dist/*.whl"
11+ docker run --rm -v $(PWD ) :/io -w /io quay.io/pypa/$(POLICY ) _$(PLATFORM ) \
12+ make build-wheels \
13+ POLICY =$(POLICY ) PLATFORM=$(PLATFORM ) TAGS="$(TAGS ) "
14+
15+ build-wheels :
16+ yum install -y fuse-devel
17+ $(foreach tag,$(TAGS ) ,$(MAKE ) build-wheel TAG=$(tag ) PATH="/opt/python/$(tag ) /bin:$(PATH ) ";)
18+
19+ build-wheel :
20+ python -m build --wheel --outdir dist-$(POLICY ) -$(PLATFORM ) -$(TAG )
21+ auditwheel repair dist-$(POLICY ) -$(PLATFORM ) -$(TAG ) /* .whl
822
923clean :
1024 python3 setup.py clean --all
11- rm -fr build dist fuse_python.egg-info wheelhouse
25+ rm -fr build dist dist- * fuse_python.egg-info wheelhouse
You can’t perform that action at this time.
0 commit comments