Change setup.py to pyproject.toml #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
name: Windows build | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install miniconda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-activate-base: true | |
python-version: "3.12" | |
- name: Install GDAL | |
run: | | |
conda install -c conda-forge gdal --yes | |
- name: Test GDAL installation | |
run: | | |
python -c "from osgeo import gdal" | |
gdalinfo --version | |
- name: Install dependencies | |
run: | | |
pip install --upgrade setuptools | |
python -m pip install --upgrade pip | |
pip install --no-cache-dir Cython | |
pip install -r requirements.txt | |
pip install . |