import os

with open(os.path.join(os.path.dirname(__file__), "webclient/VERSION")) as f:
    __version__ = f.read().strip()

@@ -4,16 +4,63 @@
 ort os%0A%0A
+def installed_location():%0A    return __file__%0A%0A
 with ope
@@ -90,24 +90,36 @@
 dirname(
-__file__
+installed_location()
 ), %22webc

Add an 'installed_location()' function so syweb can report its own location