Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/pinefarm/external/mg5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
from .. import interface
from . import paths

URL = "https://launchpad.net/mg5amcnlo/{major}.0/{major}.{minor}.x/+download/MG5_aMC_v{version}.tar.gz"
"URL template for MG5aMC\\@NLO release"
VERSION = "3.6.2"
URL = "https://github.com/mg5amcnlo/mg5amcnlo/archive/refs/tags/v3.6.5.tar.gz"
"Version in use"
CONVERT_MODEL = """
set auto_convert_model True
Expand All @@ -27,8 +25,7 @@

def url():
"""Compute actual download URL."""
major, minor, _ = VERSION.split(".")
return URL.format(version=VERSION, major=major, minor=minor)
return URL


class Mg5(interface.External):
Expand Down