Skip to content

Commit

Permalink
Fix format and add importlib-resources to PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 24, 2024
1 parent 53fb9c0 commit 7aff1d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/py-pybdsim/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PyPybdsim(PythonPackage):

maintainers = ["jmcarcell"]

version('master', branch='master')
version("master", branch="master")

depends_on("py-setuptools", type="build")
depends_on("py-importlib-resources", type=("build", "run"))
Expand All @@ -29,3 +29,6 @@ class PyPybdsim(PythonPackage):

depends_on("py-pymadx")
depends_on("py-pytransport")

def setup_run_environment(self, env):
env.prepend_path("PYTHONPATH", self.spec["py-importlib-resources"].prefix.lib)
2 changes: 1 addition & 1 deletion packages/py-pymadx/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PyPymadx(PythonPackage):

maintainers = ["jmcarcell"]

version('master', branch='master')
version("master", branch="master")

depends_on("py-setuptools", type="build")
depends_on("py-matplotlib@3:")
Expand Down
2 changes: 1 addition & 1 deletion packages/py-pytransport/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PyPytransport(PythonPackage):

maintainers = ["jmcarcell"]

version('master', branch='master')
version("master", branch="master")

depends_on("py-setuptools", type="build")

Expand Down

0 comments on commit 7aff1d6

Please sign in to comment.