Skip to content

Commit 19f50fe

Browse files
authored
ci(wheels): Add numpy as a runtime requirement (#4638)
Adds "numpy" as a runtime requirement for the Python wheels. Fixes #4637 --------- Signed-off-by: Zach Lewis <[email protected]>
1 parent aaa599b commit 19f50fe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ classifiers = [
2929
"Topic :: Software Development :: Libraries :: Python Modules",
3030
]
3131
requires-python = ">= 3.8"
32+
dependencies = [
33+
"numpy>=1.19",
34+
]
3235

3336
[project.urls]
3437
Homepage = "https://openimageio.org/"

src/python/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
production.
4040
"""[1:-1]
4141

42+
__version__ = VERSION_STRING # type: ignore # noqa: F405
4243

4344
def _call_program(name, args):
4445
bin_dir = os.path.join(os.path.dirname(__file__), 'bin')

0 commit comments

Comments
 (0)