Skip to content

Commit 9349570

Browse files
committed
fix ci for windows
1 parent f487e5a commit 9349570

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci_build/azure_pipelines/templates/setup.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ steps:
2828
# https://github.com/numpy/numpy/issues/12957
2929
# https://github.com/ContinuumIO/anaconda-issues/issues/10629
3030
# Add numpy lib path manually here
31+
# On Windows sqlite3.dll is found under Library/bin
3132
- bash: |
3233
site_dir=$(python -c "import site; print(site.getsitepackages()[1])")
3334
echo "##vso[task.prependpath]$site_dir\numpy\.libs"
34-
displayName: 'Fix Numpy Path'
35+
base_dir=$(python -c "import site; print(site.getsitepackages()[0])")
36+
echo "##vso[task.prependpath]$base_dir/Library/bin"
37+
displayName: 'Fix Paths'
3538
condition: and(succeeded(), in(variables['Agent.OS'], 'Windows_NT'))
3639

3740
- bash: env

0 commit comments

Comments
 (0)