2
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
4
# This file is in the public domain
10
# Add project root directory (enable symlink, and trunk execution).
11
PROJECT_ROOT_DIRECTORY = os.path.abspath(
12
os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))
14
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'ul10n_tools'))
15
and PROJECT_ROOT_DIRECTORY not in sys.path):
16
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
17
os.putenv('PYTHONPATH', PROJECT_ROOT_DIRECTORY) # for subprocesses
19
import ul10n_tools.lp_get_team_info as lp_get_team_info
21
lp_get_team_info.main()