File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,22 @@ jobs:
43
43
- name : Build wheels
44
44
env :
45
45
CIBW_SKIP : " pp* *-musllinux*" # Skip PyPy and musllinux
46
+ CIBW_BEFORE_ALL : >
47
+ yum install -y geos-devel ||
48
+ apt-get update && apt-get install -y libgeos-dev ||
49
+ brew install geos
46
50
CIBW_BEFORE_BUILD : >
47
- pip install numpy cython &&
51
+ pip install --upgrade pip &&
52
+ pip install numpy>=1.21.4 cython>=0.29.21 &&
48
53
python -c "import utils; utils.GeosLibrary('3.6.5').build('extern', njobs=16)"
49
- CIBW_BEFORE_TEST : " pip install -r {project}/requirements-test.txt"
54
+ CIBW_ENVIRONMENT : >
55
+ GEOS_DIR=/project/packages/basemap/extern
56
+ SETUPTOOLS_USE_DISTUTILS=stdlib
50
57
CIBW_TEST_COMMAND : >
51
58
cd {project} && python -m pytest --cov="mpl_toolkits.basemap"
52
59
--cov-report=term --ignore=dist --ignore=build
53
- CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-* cp313-* "
54
- CIBW_ENVIRONMENT : " GEOS_DIR={project}/extern "
60
+ CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-*"
61
+
55
62
run : |
56
63
cd ${{ env.PKGDIR }}
57
64
python -m cibuildwheel --output-dir wheelhouse
You can’t perform that action at this time.
0 commit comments