Package esys :: Package lsm :: Package util :: Module InstallInfo
[hide private]
[frames] | no frames]

Module InstallInfo

Provides install path infomation.

Functions [hide private]
 
getPovrayExePath()
Attempts to return the absolute path of the "povray" executable using the "PATH" environment variable.
 
getDataFilePath(dataFileName)
Returns path for specified data file.
 
haveVtk()
 
havePovray()
Variables [hide private]
  installDir = "/usr"
  binDir = os.path.join(installDir, "bin")
  libDir = os.path.join(installDir, "lib")
  pythonPkgDir = "/usr/lib/python2.7/dist-packages"
  esysPkgDir = os.path.join(pythonPkgDir, "esys")
  lsmPkgDir = os.path.join(esysPkgDir, "lsm")
  pkgName = "ESyS-Particle"
  version = "2.1"
  pkgHomePageUrl = "https://launchpad.net/esys-particle/"
  pkgDataDir = "/usr/share/esys-particle"
  povrayExe = "povray"
  _haveVtk = False
  _havePovray = False
Function Details [hide private]

getPovrayExePath()

 

Attempts to return the absolute path of the "povray" executable using the "PATH" environment variable. If the exe can't be found on the "PATH" then this function returns the "povray" path which was found during installation. This function is a workaround for for the SGI MPT mpirun, which seems to alter the user "PATH" environment.

getDataFilePath(dataFileName)

 

Returns path for specified data file. Looks on path pkgDataDir:Data:.