Skip to content

Commit b91c991

Browse files
committed
Install pyproj manually in test job for py39
1 parent 434052d commit b91c991

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/basemap-for-manylinux.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,26 @@ jobs:
254254
apt-get update
255255
apt-get install -y libfreetype6-dev libpng12-dev
256256
if: matrix.arch == 'x86' && matrix.python-version == '3.5'
257+
-
258+
name: Install pyproj manually
259+
run: |
260+
apt-get update
261+
apt-get install -y proj-bin libproj-dev
262+
python -m pip install cython
263+
pkgname=pyproj
264+
pkgvers=${{ env.pyproj-version }}
265+
pkgcode=${pkgname}-${pkgvers}
266+
python -m pip download "pyproj == ${pkgvers}"
267+
tar -xf ${pkgcode}.tar.gz
268+
rm -rf ${pkgcode}.tar.gz
269+
cd ${pkgcode}
270+
rm _proj.c
271+
python -m pip install .
272+
cd ..
273+
rm -rf ${pkgcode}
274+
if: matrix.python-version == '3.9'
275+
env:
276+
pyproj-version: 1.9.6
257277
-
258278
name: Install package
259279
run: |

0 commit comments

Comments
 (0)