From 9e64cde2bddaad62f13ccbc65a02a5fe5951d031 Mon Sep 17 00:00:00 2001 From: Fionn Malone Date: Thu, 26 Oct 2023 15:34:28 -0700 Subject: [PATCH] Fix setup resource path (#849) * Fix path to resource estimates requirements. * Fix missing requirements files in manifest. * Remove non existent npy adds from MANIFEST. --- MANIFEST.in | 5 +++-- setup.py | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index e827cbafd..eea318903 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ include LICENSE include MANIFEST.in include NOTICE include README.rst -include requirements.txt +include dev_tools/requirements/deps/runtime.txt +include dev_tools/requirements/deps/resource_estimates_runtime.txt include setup.py -recursive-include src *.py *.hdf5 *.npy bad_type_operator.data geometry_example.txt +recursive-include src *.py *.hdf5 bad_type_operator.data geometry_example.txt diff --git a/setup.py b/setup.py index e1f8989ba..dd6e04e9c 100755 --- a/setup.py +++ b/setup.py @@ -29,7 +29,9 @@ requirements = [r.strip() for r in requirements] requirements = [r for r in requirements if not r.startswith('#')] # Resource estimates requirements. -resource_requirements = open('dev_tools/requirements/deps/resource_estimates.txt').readlines() +resource_requirements = open( + 'dev_tools/requirements/deps/resource_estimates_runtime.txt' +).readlines() resource_requirements = [r.strip() for r in resource_requirements] resource_requirements = [r for r in resource_requirements if not r.startswith('#')]