22 lines
778 B
Python
22 lines
778 B
Python
import os
|
|
import tempfile
|
|
|
|
sugar_source_dir = os.path.dirname(os.path.dirname(__file__))
|
|
sugar_data_dir = os.path.join(sugar_source_dir, 'shell/data')
|
|
|
|
__tmpdir = os.path.join(tempfile.gettempdir(), 'sugar')
|
|
sugar_activities_dir = __tmpdir
|
|
sugar_service_dir = __tmpdir
|
|
|
|
sugar_dbus_config = os.path.join(sugar_source_dir, 'dbus-uninstalled.conf')
|
|
|
|
sugar_python_path = []
|
|
sugar_python_path.append(sugar_source_dir)
|
|
sugar_python_path.append(os.path.join(sugar_source_dir, 'shell'))
|
|
sugar_python_path.append(os.path.join(sugar_source_dir, 'activities'))
|
|
sugar_python_path.append(os.path.join(sugar_source_dir, 'services'))
|
|
|
|
sugar_bin_path = []
|
|
sugar_bin_path.append(os.path.join(sugar_source_dir, 'shell'))
|
|
sugar_bin_path.append(os.path.join(sugar_source_dir, 'services/presence'))
|