<s> '''<STR_LIT>''' <EOL> from __future__ import absolute_import <EOL> import sys <EOL> import os . path <EOL> __PLATFORM = sys . platform . lower ( ) <EOL> try : <EOL> import salt . _syspaths as __generated_syspaths <EOL> except ImportError : <EOL> import imp <EOL> __generated_syspaths = imp . new_module ( '<STR_LIT>' ) <EOL> for key in ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) : <EOL> setattr ( __generated_syspaths , key , None ) <EOL> if '<STR_LIT>' in globals ( ) : <EOL> __THIS_FILE = os . path . join ( SETUP_DIRNAME , '<STR_LIT>' , '<STR_LIT>' ) <EOL> else : <EOL> __THIS_FILE = __file__ <EOL> INSTALL_DIR = os . path . dirname ( os . path . realpath ( __THIS_FILE ) ) <EOL> CLOUD_DIR = os . path . join ( INSTALL_DIR , '<STR_LIT>' ) <EOL> BOOTSTRAP = os . path . join ( CLOUD_DIR , '<STR_LIT>' , '<STR_LIT>' ) <EOL> ROOT_DIR = __generated_syspaths . ROOT_DIR <EOL> if ROOT_DIR is None : <EOL> if __PLATFORM . startswith ( '<STR_LIT>' ) : <EOL> ROOT_DIR = r'<STR_LIT>' <EOL> else : <EOL> ROOT_DIR = '<STR_LIT:/>' <EOL> CONFIG_DIR = __generated_syspaths . CONFIG_DIR <EOL> if CONFIG_DIR is None : <EOL> if __PLATFORM . startswith ( '<STR_LIT>' ) : <EOL> CONFIG_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' ) <EOL> elif '<STR_LIT>' in __PLATFORM : <EOL> CONFIG_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> elif '<STR_LIT>' in __PLATFORM : <EOL> CONFIG_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> elif '<STR_LIT>' in __PLATFORM : <EOL> CONFIG_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> else : <EOL> CONFIG_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' ) <EOL> CACHE_DIR = __generated_syspaths . CACHE_DIR <EOL> if CACHE_DIR is None : <EOL> CACHE_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> SOCK_DIR = __generated_syspaths . SOCK_DIR <EOL> if SOCK_DIR is None : <EOL> SOCK_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> SRV_ROOT_DIR = __generated_syspaths . SRV_ROOT_DIR <EOL> if SRV_ROOT_DIR is None : <EOL> SRV_ROOT_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' ) <EOL> BASE_FILE_ROOTS_DIR = __generated_syspaths . BASE_FILE_ROOTS_DIR <EOL> if BASE_FILE_ROOTS_DIR is None : <EOL> BASE_FILE_ROOTS_DIR = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' ) <EOL> BASE_PILLAR_ROOTS_DIR = __generated_syspaths . BASE_PILLAR_ROOTS_DIR <EOL> if BASE_PILLAR_ROOTS_DIR is None : <EOL> BASE_PILLAR_ROOTS_DIR = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' ) <EOL> BASE_THORIUM_ROOTS_DIR = __generated_syspaths . BASE_THORIUM_ROOTS_DIR <EOL> if BASE_THORIUM_ROOTS_DIR is None : <EOL> BASE_THORIUM_ROOTS_DIR = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' ) <EOL> BASE_MASTER_ROOTS_DIR = __generated_syspaths . BASE_MASTER_ROOTS_DIR <EOL> if BASE_MASTER_ROOTS_DIR is None : <EOL> BASE_MASTER_ROOTS_DIR = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' ) <EOL> LOGS_DIR = __generated_syspaths . LOGS_DIR <EOL> if LOGS_DIR is None : <EOL> LOGS_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> PIDFILE_DIR = __generated_syspaths . PIDFILE_DIR <EOL> if PIDFILE_DIR is None : <EOL> PIDFILE_DIR = os . path . join ( ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' ) <EOL> SPM_FORMULA_PATH = __generated_syspaths . SPM_FORMULA_PATH <EOL> if SPM_FORMULA_PATH is None : <EOL> SPM_FORMULA_PATH = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' ) <EOL> SPM_PILLAR_PATH = __generated_syspaths . SPM_PILLAR_PATH <EOL> if SPM_PILLAR_PATH is None : <EOL> SPM_PILLAR_PATH = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' ) <EOL> SPM_REACTOR_PATH = __generated_syspaths . SPM_REACTOR_PATH <EOL> if SPM_REACTOR_PATH is None : <EOL> SPM_REACTOR_PATH = os . path . join ( SRV_ROOT_DIR , '<STR_LIT>' , '<STR_LIT>' ) <EOL> __all__ = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' <EOL> ] </s>
