INNER CODE UNIT · Ruby

python

davidchall/homebrew-hep · Formula/apfel.rb:23

  def python
    "python3.10"
  end

  def install
    mkdir "../build" do
      args = %W[
        -DCMAKE_INSTALL_PREFIX=#{prefix}
        -DAPFEL_Python_SITEARCH=#{prefix/Language::Python.site_packages(python)}
      ]

      system "cmake", buildpath, *args
      system "make"
      system "make", "test" if build.with? "test"
      system "make", "install"
    end
  end

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…