Updated the missing package warnings and errors in export to link to the package site

This commit is contained in:
Veronica K. B. Olsen
2019-10-29 10:39:31 +01:00
parent 163465d2b4
commit 2510e45c26
4 changed files with 54 additions and 4 deletions
+8
View File
@@ -105,3 +105,11 @@ def splitVersionNumber(vString):
vInt = vMajor*10000 + vMinor*100 + vPatch
return [vMajor, vMinor, vPatch, vInt]
def packageRefURL(packName):
from nw.constants import nwDependencies
if packName in nwDependencies.PACKS.keys():
return "<a href=\"%s\">%s</a>" % (
nwDependencies.PACKS[packName]["site"], packName
)
return packName