Skip to content

Commit

Permalink
fix: path to geojson file so that published package can also refer to it
Browse files Browse the repository at this point in the history
  • Loading branch information
HideBa committed Feb 4, 2024
1 parent 1a429f8 commit f0096b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ahn_cli/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from dataclasses import dataclass
from importlib.resources import files


@dataclass
Expand All @@ -7,4 +8,6 @@ class Config:
# ahn_base_url = (
# "https://ns_hwh.fundaments.nl/hwh-ahn/ahn4/03a_DSM_0.5m/{tile_index}.zip"
# )
city_polygon_file = "./ahn_cli/fetcher/data/municipality_simple.geojson"
city_polygon_file = files("ahn_cli.fetcher.data").joinpath(
"municipality_simple.geojson"
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ahn_cli"
version = "0.1.3"
version = "0.1.4"
description = ""
authors = ["HideBa <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit f0096b6

Please sign in to comment.