Skip to content

Commit

Permalink
Fix easy to fix things in k4generators config (#656)
Browse files Browse the repository at this point in the history
Co-authored-by: Juan Miguel Carceller <[email protected]>
  • Loading branch information
tmadlener and jmcarcell authored Oct 7, 2024
1 parent 3812acd commit 0d58258
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/k4generatorsconfig/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class K4generatorsconfig(CMakePackage):
"""DD4hep geometry models for future colliders."""
"""A python based module for the automatic generation of inputfiles for Monte-Carlo(MC) generators."""

homepage = "https://github.com/key4hep/k4GeneratorsConfig"
git = "https://github.com/key4hep/k4GeneratorsConfig.git"
Expand All @@ -23,6 +23,8 @@ class K4generatorsconfig(CMakePackage):
depends_on("hepmc3")
depends_on("heppdt")
depends_on("pythia8")
depends_on("python")
depends_on("py-pyyaml")

def cmake_args(self):
args = []
Expand All @@ -32,4 +34,6 @@ def cmake_args(self):
return args

def setup_run_environment(self, env):
env.set("K4GENERATORSCONFIG", self.prefix.share.k4geo)
env.set("K4GENERATORSCONFIG", self.prefix.share.k4GeneratorsConfig)
env.prepend_path("PYTHONPATH", self.prefix.python)
env.prepend_path("PATH", self.prefix.bin)

0 comments on commit 0d58258

Please sign in to comment.