Skip to content

Commit

Permalink
Test installation
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjmcdougall committed Feb 27, 2025
1 parent 00d3863 commit 5cf8821
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 16 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# geospatial-wheels-windows-flatlinks
A simple webpage to help configure uv to install GDAL and other packages with pre-built Windows wheels from https://github.com/cgohlke/geospatial-wheels
# geopspatial-wheels Windows flatlinks

A [simple webpage](https://nathanjmcdougall.github.io/geospatial-wheels-windows-flatlinks/) to help configure uv to install GDAL and other packages with pre-built Windows wheels from <https://github.com/cgohlke/geospatial-wheels>

## Acknowledgements
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ authors = [
requires-python = ">=3.13"
classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.13" ]
dependencies = [
"gdal>=3.10.1",
"httpx>=0.28.1",
]

Expand Down Expand Up @@ -43,3 +44,13 @@ filterwarnings = [ "error" ]

[tool.uv]
default-groups = [ "test", "dev" ]
find-links = [ "https://nathanjmcdougall.github.io/geospatial-wheels-windows-flatlinks" ]

[tool.uv.sources]
gdal = [
{ index = "large_image_wheels" },
]

[[tool.uv.index]]
name = "large_image_wheels"
url = "https://girder.github.io/large_image_wheels"
4 changes: 4 additions & 0 deletions tests/test_install.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def test_importable() -> None:
import osgeo

assert osgeo.__version__ is not None
3 changes: 1 addition & 2 deletions tests/test_up_to_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def test_up_to_date(tmp_path: Path) -> None:
</pre>
</body>
</html>
"""
</html>"""
)

html_file = tmp_path / "index.html"
Expand Down
28 changes: 16 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5cf8821

Please sign in to comment.