From 0bb04d912741f3bce2014d77ece1e06039d3ed86 Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Tue, 8 Jul 2025 07:41:51 -0400 Subject: [PATCH] Fix upgrade to poetry 2 --- pyproject.toml | 5 +++-- weather/__init__.py | 0 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 weather/__init__.py diff --git a/pyproject.toml b/pyproject.toml index b4d2105..01b02a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,17 +6,18 @@ authors = [ {name = "Chris Proctor",email = "chris@chrisproctor.net"} ] license = {text = "MIT"} -readme = "README.md" requires-python = ">=3.10,<4.0" dependencies = [ "requests (>=2.32.3,<3.0.0)", "geocoder (>=1.38.1,<2.0.0)" ] +[project.scripts] +weather = "weather.weather:print_weather" [build-system] requires = ["poetry-core>=2.0.0,<3.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry] -package-mode = false +packages = [{include = "weather"}] diff --git a/weather/__init__.py b/weather/__init__.py new file mode 100644 index 0000000..e69de29