Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
name: pypi
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
- name: Setup Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.12"

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: '3.10'
python-version: '3.12'
auto-activate-base: false

- name: Build package
shell: bash -l {0}
run: |
conda create -n deploy_env python=3.10 libgdal=3.5.2 build -c conda-forge -y
conda create -n deploy_env python=3.12 build -c conda-forge -y
conda activate deploy_env
python -m build -C--global-option=bdist_wheel -C--global-option=--build-number=0 --wheel

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
- name: Setup Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.12"
- name: Create test env
shell: bash -l {0}
run: |
Expand All @@ -30,19 +30,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
- name: Setup Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.12"
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: '3.10'
python-version: '3.12'
auto-activate-base: false
- name: Create test env
shell: bash -l {0}
run: |
conda create -n test_env python=3.12 libgdal=3.5.2 -c conda-forge -c defaults -y
conda create -n test_env python=3.12 libgdal=3.9 -c conda-forge -c defaults -y
conda activate test_env
PIP_NO_BINARY=rasterio pip install .
pip install pylint mccabe
Expand Down
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Python #
*.py[cod]
*$py.class
*$py.class

# Distribution / packaging
.Python build/
Expand All @@ -20,5 +20,13 @@ dist/
*.egg
*.whl
*.manifest
*.spec
*.spec

# Tests
.coverage
listing.lst

# IDE
.idea/
.ipynb_checkpoints/

10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
setup_requires = ["setuptools_scm"],
setup_requires=["setuptools_scm"],
install_requires=[
'click==8.1.8',
'rasterio',
'pytest>=3.6',
'pytest-cov',
'geopandas==0.13',
'geopandas>=0.13',
'kiwisolver==1.4.5',
'matplotlib==3.7.3',
'packaging==24.1',
'fiona==1.9.6',
'sphinx_rtd_theme==3.0.1',
'pip==24.2',
'sphinx==7.1.2',
'scipy==1.16',
'scipy',
'pyscaffold',
'gdal==3.5.0',
'tqdm==4.66'
'gdal>=3.5.0,<3.10',
'tqdm>=4.66'
],
entry_points="""
[rasterio.rio_plugins]
Expand Down
Binary file removed tests/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file removed tests/__pycache__/cmptools.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed tests/__pycache__/utils4test.cpython-38.pyc
Binary file not shown.
Loading