From b4d7774b2b9f57a2ce5e244f18933cfb0a115720 Mon Sep 17 00:00:00 2001 From: awarde96 Date: Thu, 29 Aug 2024 07:19:05 +0000 Subject: [PATCH 1/2] Update manifest to include data files, add install_requires to install requirements --- MANIFEST.in | 3 ++- covjsonkit/version.py | 2 +- setup.py | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index a28b828..258bca6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ -include covjsonkit/data/*.json \ No newline at end of file +include covjsonkit/data/ecmwf/*.json +include covjsonkit/data/dwd/*.json \ No newline at end of file diff --git a/covjsonkit/version.py b/covjsonkit/version.py index 6e2648a..d62d967 100644 --- a/covjsonkit/version.py +++ b/covjsonkit/version.py @@ -1 +1 @@ -__version__ = "0.0.12" +__version__ = "0.0.16" diff --git a/setup.py b/setup.py index 3e76b79..53e57ce 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,8 @@ io.open("covjsonkit/version.py", encoding="utf_8_sig").read(), ).group(1) +with open("requirements.txt") as f: + requirements = f.read().splitlines() setup( name="covjsonkit", @@ -21,5 +23,6 @@ packages=find_packages(), zip_safe=False, include_package_data=True, + install_requires=requirements, package_data={"covjsonkit": ["data/*.json"]}, ) From 52ca7f2622b47831b767e40d1d0579f19ae9a91c Mon Sep 17 00:00:00 2001 From: awarde96 Date: Thu, 29 Aug 2024 07:23:58 +0000 Subject: [PATCH 2/2] Revert version num --- covjsonkit/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/covjsonkit/version.py b/covjsonkit/version.py index d62d967..6e2648a 100644 --- a/covjsonkit/version.py +++ b/covjsonkit/version.py @@ -1 +1 @@ -__version__ = "0.0.16" +__version__ = "0.0.12"