Skip to content

Commit

Permalink
Fix setup resource path (#849)
Browse files Browse the repository at this point in the history
* Fix path to resource estimates requirements.

* Fix missing requirements files in manifest.

* Remove non existent npy adds from MANIFEST.
  • Loading branch information
fdmalone authored Oct 26, 2023
1 parent e1f8a0a commit 9e64cde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('#')]

Expand Down

0 comments on commit 9e64cde

Please sign in to comment.