Commit 9e47391b authored by Stefan Behnel's avatar Stefan Behnel

Merge branch 'release'

parents b317d037 9d06861d
...@@ -56,7 +56,7 @@ Other changes ...@@ -56,7 +56,7 @@ Other changes
* This release no longer supports Python 3.2. * This release no longer supports Python 3.2.
0.26.1 (2017-08-28) 0.26.1 (2017-08-29)
=================== ===================
Features added Features added
......
PYTHON?=python PYTHON?=python
TESTOPTS?= TESTOPTS?=
REPO = git://github.com/cython/cython.git REPO = git://github.com/cython/cython.git
VERSION?=$(shell sed -ne 's|^__version__\s*=\s*"\([^"]*\)".*|\1|p' Cython/Shadow.py)
MANYLINUX_IMAGE_X86_64=quay.io/pypa/manylinux1_x86_64
MANYLINUX_IMAGE_686=quay.io/pypa/manylinux1_i686
all: local all: local
...@@ -41,3 +45,15 @@ test: testclean ...@@ -41,3 +45,15 @@ test: testclean
s5: s5:
$(MAKE) -C Doc/s5 slides $(MAKE) -C Doc/s5 slides
wheel_manylinux: wheel_manylinux64 wheel_manylinux32
wheel_manylinux32 wheel_manylinux64: dist/Cython-$(VERSION).tar.gz
echo "Building wheels for Cython $VERSION"
mkdir -p wheelhouse
time docker run --rm -t \
-v $(shell pwd):/io \
-e CFLAGS="-O3 -g0 -mtune=generic -pipe -fPIC" \
-e LDFLAGS="$(LDFLAGS) -fPIC" \
$(if $(patsubst %32,,$@),$(MANYLINUX_IMAGE_X86_64),$(MANYLINUX_IMAGE_686)) \
bash -c 'for PYBIN in /opt/python/*/bin; do $$PYBIN/python -V; { $$PYBIN/pip wheel -w /io/wheelhouse /io/$< & } ; done; wait'
...@@ -62,7 +62,7 @@ clone_depth: 5 ...@@ -62,7 +62,7 @@ clone_depth: 5
branches: branches:
only: only:
- master - master
- 0.25.x - release
init: init:
- "ECHO Python %PYTHON_VERSION% (%PYTHON_ARCH%bit) from %PYTHON%" - "ECHO Python %PYTHON_VERSION% (%PYTHON_ARCH%bit) from %PYTHON%"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment