diff options
author | Aki <please@ignore.pl> | 2022-09-26 00:37:39 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-09-26 00:37:39 +0200 |
commit | 78086bf15a335a9c40b5a58c2e563c0159870ed3 (patch) | |
tree | 3c3f4a24b41cd10ccd8990b7d6b78d5a5f22e731 | |
parent | a9e99607ec03e13bb2e819557174e0120b001255 (diff) | |
download | windy-78086bf15a335a9c40b5a58c2e563c0159870ed3.zip windy-78086bf15a335a9c40b5a58c2e563c0159870ed3.tar.gz windy-78086bf15a335a9c40b5a58c2e563c0159870ed3.tar.bz2 |
Made a proper package out of the module
-rw-r--r-- | pyproject.toml | 20 | ||||
-rw-r--r-- | windy/__init__.py | 1 | ||||
-rw-r--r-- | windy/point_forecast.py (renamed from windy.py) | 0 |
3 files changed, 21 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a5df547 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,20 @@ +[project] +name="windy" +dependencies=[ + "requests==2.*", + "pint" +] +dynamic=["version"] + + +[tool.setuptools_scm] +fallback_version="0" +version_scheme="post-release" + + +[build-system] +build-backend="setuptools.build_meta" +requires=[ + "setuptools>=45", + "setuptools_scm[toml]>=6.2", +] diff --git a/windy/__init__.py b/windy/__init__.py new file mode 100644 index 0000000..ba397a9 --- /dev/null +++ b/windy/__init__.py @@ -0,0 +1 @@ +from . import point_forecast diff --git a/windy.py b/windy/point_forecast.py index 2d5cab6..2d5cab6 100644 --- a/windy.py +++ b/windy/point_forecast.py |