File tree Expand file tree Collapse file tree 13 files changed +72
-128
lines changed
Expand file tree Collapse file tree 13 files changed +72
-128
lines changed Original file line number Diff line number Diff line change 1111 fail-fast : false
1212 matrix :
1313 os : ${{ fromJSON(vars.BUILD_OS)}}
14- python-version : ${{ fromJSON(vars.PYTHON_VERSIONS)}}
14+ python-version : ${{ fromJSON(vars.PYTHON_VERSIONS) }}
1515 steps :
1616 - uses : conda-incubator/setup-miniconda@v3
1717 with :
@@ -27,10 +27,14 @@ jobs:
2727 ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
2828 shell : bash -l {0}
2929 run : |
30+ conda config --env --add channels conda-forge
31+ conda config --env --add channels loop3d
32+ conda config --env --set channel_priority strict
3033 conda install -c conda-forge conda-build scikit-build-core numpy anaconda-client conda-libmamba-solver -y
31- conda build -c conda-forge -c loop3d --output-folder conda conda --python ${{matrix.python-version}}
34+ conda config --set solver libmamba
35+ conda build --output-folder conda conda --python ${{matrix.python-version}}
3236 anaconda upload --label main conda/*/*.tar.bz2
33-
37+
3438 - name : upload artifacts
3539 uses : actions/upload-artifact@v4
3640 with :
Original file line number Diff line number Diff line change 1818 - uses : stefanzweifel/git-auto-commit-action@v5
1919 with :
2020 commit_message : " style: style fixes by ruff and autoformatting by black"
21-
21+
22+
2223 testing :
2324 name : Testing
2425 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 66
77 sdist :
88 name : Build sdist
9- runs-on : ubuntu-24.04
9+ runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v4
1212 - uses : actions/setup-python@v5
2323
2424 publish :
2525 name : Publish wheels to pypi
26- runs-on : ubuntu-24.04
26+ runs-on : ubuntu-latest
2727 permissions :
2828 # IMPORTANT: this permission is mandatory for trusted publishing
2929 id-token : write
Original file line number Diff line number Diff line change 1- include LICENSE
2- include README.md
3-
41include map2loop/_datasets/clut_files/*.csv
52include map2loop/_datasets/config_files/*.json
6- include map2loop/_datasets/geodata_files/hamersley/*
7-
8- recursive-include tests *.py
3+ include map2loop/_datasets/geodata_files/hamersley/*
Original file line number Diff line number Diff line change 1+ mkdir %SP_DIR% \map2loop
2+ copy %RECIPE_DIR% \..\LICENSE %SP_DIR% \map2loop\
3+ copy %RECIPE_DIR% \..\README.md %SP_DIR% \map2loop\
4+ copy %RECIPE_DIR% \..\dependencies.txt %SP_DIR% \map2loop\
5+ %PYTHON% -m pip install . --no-deps
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ mkdir -p $SP_DIR /map2loop
3+ cp $RECIPE_DIR /../dependencies.txt $SP_DIR /map2loop/
4+ cp $RECIPE_DIR /../LICENSE $SP_DIR /map2loop/
5+ cp $RECIPE_DIR /../README.md $SP_DIR /map2loop/
6+ $PYTHON -m pip install . --no-deps
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,17 +20,16 @@ requirements:
2020 run :
2121 - loopprojectfile ==0.2.2
2222 - gdal
23- - map2model
24- - beartype
25- - python
2623 - numpy
27- - pandas
24+ - scipy
2825 - geopandas
2926 - shapely
30- - tqdm
3127 - networkx
3228 - owslib
33-
29+ - map2model
30+ - beartype
31+ - pytest
32+ - scikit-learn
3433
3534about :
3635 home : " https://github.com/Loop3D/map2loop"
Original file line number Diff line number Diff line change 1-
21numpy
32scipy
43geopandas
You can’t perform that action at this time.
0 commit comments