Skip to content

Commit 8db731f

Browse files
committed
attempt fix install windows
1 parent b86db26 commit 8db731f

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ jobs:
105105
106106
# Verify they're installed
107107
python -c "import mpl_toolkits.basemap_data; print('Data package installed')"
108-
python -c "import mpl_toolkits.basemap_data_hires; print('Hires data package installed')" || echo "Optional hires package not installed"
109108
110109
# Install the data packages (Windows)
111110
- name: Install data packages (Windows)
@@ -124,18 +123,12 @@ jobs:
124123
python -m pip install $wheel.FullName
125124
}
126125
127-
# Verify they're installed
128-
try {
129-
python -c "import mpl_toolkits.basemap_data; print('Data package installed')"
130-
} catch {
131-
Write-Host "Error importing basemap_data"
132-
}
126+
# Show installed packages
127+
python -m pip list | Select-String "mpl_toolkits.basemap"
133128
134-
try {
135-
python -c "import mpl_toolkits.basemap_data_hires; print('Hires data package installed')"
136-
} catch {
137-
Write-Host "Optional hires package not installed"
138-
}
129+
# Try different import paths
130+
Write-Host "Trying to import basemap_data..."
131+
python -c "import mpl_toolkits.basemap_data; print('mpl_toolkits.basemap_data imported successfully')"
139132
140133
- name: Extract sdist (Linux/macOS)
141134
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)