I am using absolute paths when launching an installed version of genesis (in contrast to launching it from the source directory). And I am using sys.prefix. But sys.prefix is always »/usr« on Ubuntu, while setup.py installs to »/usr/local« by default. I would have to figure out if genesis was installed to /usr/local, as setup.py does, or to /usr, as the debian package does, or to any other location.
I am using absolute paths when launching an installed version of genesis (in contrast to launching it from the source directory). And I am using sys.prefix. But sys.prefix is always »/usr« on Ubuntu, while setup.py installs to »/usr/local« by default. I would have to figure out if genesis was installed to /usr/local, as setup.py does, or to /usr, as the debian package does, or to any other location.