You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
784 B
22 lines
784 B
# Copyright (C) 2005-2025 Splunk Inc. All Rights Reserved.
|
|
|
|
"""
|
|
This module/package contains implementations for ITOA shareable APIs
|
|
and ITSI specific implementations
|
|
"""
|
|
import sys
|
|
from splunk.clilib.bundle_paths import make_splunkhome_path
|
|
|
|
# pylint: disable = import-error
|
|
from lib.ITOA.itoa_common import add_to_sys_path
|
|
# pylint: enable = import-error
|
|
|
|
# Add lib path to import paths for packages
|
|
add_to_sys_path([make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib'])])
|
|
add_to_sys_path([make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib', 'SA_ITOA_app_common'])])
|
|
|
|
if sys.version_info >= (3, 0):
|
|
add_to_sys_path([make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib', 'py3'])])
|
|
else:
|
|
add_to_sys_path([make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib', 'py2'])])
|