-
jcfr authored
This commit introduces a dependency to the statically linked library CTKAppLauncherLib This library also used internally by the regular Slicer launcher allows to read the launcher main settings and its associated revision specific settings listing extensions paths. Since on all platforms, environment variables are now consistently read from settings files, this commit removes: (1) the duplicated code path settings variables from the application using methods like: * qSlicerCoreApplicationPrivate::setPythonEnvironmentVariables() * qSlicerCoreApplicationPrivate::setTclEnvironmentVariables() * qSlicerCoreApplicationPrivate::discoverITKFactoriesDirectory() * qSlicerCorePythonManager::pythonPaths() (2) the application settings "Python/AdditionalPythonPaths" originally introduced in r20852 (BUG: Ensure extension python paths are set on MacOSX) to workaround the fact launcher settings were not used on MacOSX. Finally, this commit also ensures that PYTHONPATH associated with thirdparty libraries bundled in extension are considered on MacOSX. See Radiomics/SlicerRadiomics#18 [ci skip] git-svn-id: http://svn.slicer.org/Slicer4/trunk@26042 3bd1e089-480b-0410-8dfb-8563597acbee
653f37d1