Skip to content
Merged
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
22 changes: 11 additions & 11 deletions .github/workflows/python-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
branches: [master]
jobs:
format_and_check:
runs-on: ubuntu-20.04
environment: production
runs-on: ubuntu-22.04
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -30,11 +30,11 @@ jobs:

build:
needs: format_and_check
runs-on: ubuntu-20.04
environment: production
runs-on: ubuntu-22.04
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -62,8 +62,8 @@ jobs:

deploy:
needs: build
runs-on: ubuntu-20.04
environment: production
runs-on: ubuntu-22.04
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down Expand Up @@ -97,8 +97,8 @@ jobs:

release:
needs: deploy
runs-on: ubuntu-20.04
environment: production
runs-on: ubuntu-22.04
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down Expand Up @@ -128,8 +128,8 @@ jobs:

deploy_docs:
needs: build
runs-on: ubuntu-20.04
environment: production
runs-on: ubuntu-22.04
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
branches: [develop, feature/*]
jobs:
format_and_check:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: development
steps:
- uses: actions/checkout@v3
Expand All @@ -29,11 +29,11 @@ jobs:

build:
needs: format_and_check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: development
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

The MIT License (MIT)
Copyright (c) 2024, Caihao Cui
Copyright (c) 2025, Caihao Cui

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![image](https://img.shields.io/pypi/pyversions/splitraster)](https://python.org/pypi/splitraster)
[![image](https://img.shields.io/pypi/v/splitraster?color=g)](https://python.org/pypi/splitraster)
[![CD](https://img.shields.io/github/actions/workflow/status/cuicaihao/split_raster/python-CD.yml?branch=master)](https://github.com/cuicaihao/split_raster/actions/workflows/python-CD.yml)
[![SplitRaster Developmnet Build Install and Test](https://github.com/cuicaihao/split_raster/actions/workflows/python-CI.yml/badge.svg?branch=develop)](https://github.com/cuicaihao/split_raster/actions/workflows/python-CI.yml)
[![SplitRaster Package Release and Publish](https://github.com/cuicaihao/split_raster/actions/workflows/python-CD.yml/badge.svg)](https://github.com/cuicaihao/split_raster/actions/workflows/python-CD.yml)
[![DMonth](https://pepy.tech/badge/splitraster/month)](https://pepy.tech/project/splitraster)
[![DTotal](https://pepy.tech/badge/splitraster?)](https://pepy.tech/project/splitraster)
[![image](https://img.shields.io/github/license/cuicaihao/split_raster?color=blue)](https://python.org/pypi/splitraster)
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![image](https://img.shields.io/pypi/pyversions/splitraster)](https://python.org/pypi/splitraster)
[![image](https://img.shields.io/pypi/v/splitraster?color=g)](https://python.org/pypi/splitraster)
[![CD](https://img.shields.io/github/actions/workflow/status/cuicaihao/split_raster/python-CD.yml?branch=master)](https://github.com/cuicaihao/split_raster/actions/workflows/python-CD.yml)
[![SplitRaster Developmnet Build Install and Test](https://github.com/cuicaihao/split_raster/actions/workflows/python-CI.yml/badge.svg?branch=develop)](https://github.com/cuicaihao/split_raster/actions/workflows/python-CI.yml)
[![SplitRaster Package Release and Publish](https://github.com/cuicaihao/split_raster/actions/workflows/python-CD.yml/badge.svg)](https://github.com/cuicaihao/split_raster/actions/workflows/python-CD.yml)
[![DMonth](https://pepy.tech/badge/splitraster/month)](https://pepy.tech/project/splitraster)
[![DTotal](https://pepy.tech/badge/splitraster?)](https://pepy.tech/project/splitraster)
[![image](https://img.shields.io/github/license/cuicaihao/split_raster?color=blue)](https://python.org/pypi/splitraster)
Expand Down
Empty file removed models/.gitkeep
Empty file.
Empty file removed references/.gitkeep
Empty file.
Empty file removed reports/.gitkeep
Empty file.
Empty file removed reports/figures/.gitkeep
Empty file.
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,20 @@ def read_requirements():
url="https://github.com/cuicaihao/split_raster",
package_dir={"": "src"},
project_urls={},
packages=find_packages(
where="src", exclude=["data", "features", "models", "visualization"]
),
python_requires=">=3.7, <3.13",
packages=find_packages(where="src", exclude=["data"]),
python_requires=">=3.7, <3.14",
keywords="split raster tiling ",
install_requires=read_requirements(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)
# rm -rf build dist
Expand Down
151 changes: 0 additions & 151 deletions src/environment.yml

This file was deleted.

Empty file removed src/features/.gitkeep
Empty file.
Empty file removed src/features/__init__.py
Empty file.
Empty file removed src/features/build_features.py
Empty file.
65 changes: 0 additions & 65 deletions src/gui.py

This file was deleted.

Loading