From 9cae57f539a4f0f1d57fcd7a67ec35f5d6e3b3f5 Mon Sep 17 00:00:00 2001 From: paulhamer-noaa <81647525+paulhamer-noaa@users.noreply.github.com> Date: Mon, 5 Aug 2024 15:31:01 -0600 Subject: [PATCH] Update the package data file installs --- python/setup.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/python/setup.py b/python/setup.py index d3675e1..6751468 100644 --- a/python/setup.py +++ b/python/setup.py @@ -8,6 +8,7 @@ def package_files(directory): for (path, directories, filenames) in os.walk(directory): for filename in filenames: paths.append(os.path.join(path, filename)) + print(directory, paths) return paths setup(name='idsse-testing', @@ -32,11 +33,14 @@ def package_files(directory): 'idsse.testing.risk_processor.simple', 'idsse.testing.risk_processor.syracuse', 'idsse.testing.utils'], - data_files=[('idsse.testing.data_access.data_cache', package_files('idsse.testing/data_access/data_cache')), - ('idsse.testing.data_access.mrms_aws_grib', package_files('idsse.testing/data_access/mrms_aws_grib')), - ('idsse.testing.data_access.nbm_aws_grib', package_files('idsse.testing/data_access/nbm_aws_grib'))], + data_files=[('idsse.testing.data_access.data_cache', package_files('idsse/testing/data_access/data_cache')), + ('idsse.testing.data_access.mrms_aws_grib', package_files('idsse/testing/data_access/mrms_aws_grib')), + ('idsse.testing.data_access.nbm_aws_grib', package_files('idsse/testing/data_access/nbm_aws_grib'))], include_package_data=True, - package_data={'':['*.csv', '*.json', '*.nc', '*.grib2*'],}, + package_data={'':['*.csv', '*.json', '*.nc', '*.grib2*'], + 'idsse.testing.data_access.data_cache': package_files('idsse/testing/data_access/data_cache'), + 'idsse.testing.data_access.mrms_aws_grib': package_files('idsse/testing/data_access/mrms_aws_grib'), + 'idsse.testing.data_access.nbm_aws_grib': package_files('idsse/testing/data_access/nbm_aws_grib')}, install_requires=[ 'pika', 'jsonschema',