Skip to content

Commit

Permalink
adjust patch slightly since gh4498.patch modifies setup.py as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry committed May 16, 2024
1 parent 2954fb3 commit 1e48642
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions recipe/gh4537.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py
index d2a147065..20e1c6758 100644
index f5de33531..da3ffd36a 100644
--- a/wrappers/python/setup.py
+++ b/wrappers/python/setup.py
@@ -164,6 +164,7 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
(through custom forces and integrators), openness, and high performance
@@ -166,6 +166,7 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
(especially on recent GPUs) that make it truly unique among simulation codes.
"""
setupKeywords["extras_require"] = {"cuda12": f"openmm-cuda=={setupKeywords['version']}.12", "cuda11.2": f"openmm-cuda=={setupKeywords['version']}.11.2", "cuda11.8": f"openmm-cuda=={setupKeywords['version']}.11.8"}
+ setupKeywords["install_requires"] = ["numpy"]

define_macros = [('MAJOR_VERSION', major_version_num),
('MINOR_VERSION', minor_version_num)]

0 comments on commit 1e48642

Please sign in to comment.