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
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ The `rasters` package is available as a [pip package on PyPi](https://pypi.org/p
pip install rasters
```

### macOS Installation

If you run into issues with installing the [pykdtree](https://github.com/storpipfugl/pykdtree) dependency on macOS because of the OpenMP library, use [mamba](https://github.com/mamba-org/mamba) to install `pykdtree`:

```
mamba install pykdtree
pip install rasters
```

## Examples

Import the `Raster` class from the `rasters` package.
Expand Down
35 changes: 32 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
.PHONY: clean test build twine-upload dist environment install uninstall reinstall test

clean:
rm -rf build/ dist/ *.egg-info/
rm -rf *.o *.out *.log
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
rm -rf .pytest_cache
find . -type d -name "__pycache__" -exec rm -rf {} +

test:
pytest

build:
python -m build

publish:
twine-upload:
twine upload dist/*

dist:
make clean
make build
twine upload dist/*
make twine-upload

environment:
mamba create -y -n rasters python=3.11 jupyter

remove-environment:
mamba env remove -y -n rasters

install:
pip install -e .[dev]

uninstall:
pip uninstall -y rasters

reinstall:
make uninstall
make install
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rasters"
version = "1.4.3"
version = "1.4.4"
description = "raster processing toolkit"
readme = "README.md"
authors = [
Expand All @@ -29,7 +29,7 @@ dependencies = [
"scikit-image",
"affine",
"astropy",
"pykdtree",
"pykdtree>=1.3.11",
"pyresample",
"pytest",
"scipy",
Expand All @@ -40,8 +40,11 @@ requires-python = ">=3.11"

[project.optional-dependencies]
dev = [
"build",
"jupyter",
"pytest>=6.0",
"pytest-cov", # For test coverage reports (optional)
"pytest-cov",
"twine"
]

[tool.setuptools.package-data]
Expand Down
2 changes: 1 addition & 1 deletion rasters/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.3
1.4.4