Skip to content

Commit 399edfc

Browse files
committed
single line
1 parent ff6f082 commit 399edfc

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,7 @@ jobs:
7070
env:
7171
CIBW_SKIP: "pp* *-musllinux*"
7272
CIBW_BEFORE_BUILD: >
73-
python -c "
74-
import os;
75-
os.environ['GEOS_DIR'] = os.path.abspath('extern');
76-
os.environ['CPATH'] = os.path.abspath('extern/include');
77-
os.environ['LIBRARY_PATH'] = os.path.abspath('extern/lib');
78-
os.environ['LD_LIBRARY_PATH'] = os.path.abspath('extern/lib')
79-
" &&
73+
python -c "import os; os.environ.update({'GEOS_DIR': os.path.abspath('extern'), 'CPATH': os.path.abspath('extern/include'), 'LIBRARY_PATH': os.path.abspath('extern/lib'), 'LD_LIBRARY_PATH': os.path.abspath('extern/lib')})" &&
8074
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
8175
CIBW_ENVIRONMENT: >
8276
GEOS_LIBRARY=/{project}/extern/lib/libgeos.so

0 commit comments

Comments
 (0)