2006-05-12 08:34:20 +02:00
|
|
|
import os
|
2006-08-12 23:35:52 +02:00
|
|
|
import tempfile
|
2006-05-12 08:34:20 +02:00
|
|
|
|
2006-08-12 23:35:52 +02:00
|
|
|
sugar_source_dir = os.path.dirname(os.path.dirname(__file__))
|
2006-08-13 00:06:52 +02:00
|
|
|
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
|
2006-07-19 20:58:29 +02:00
|
|
|
|
2006-08-12 23:35:52 +02:00
|
|
|
sugar_dbus_config = os.path.join(sugar_source_dir, 'dbus-uninstalled.conf')
|
|
|
|
|
2006-08-25 14:39:58 +02:00
|
|
|
sugar_python_path = ['@prefix@/share/sugar/bindings']
|
2006-08-12 23:35:52 +02:00
|
|
|
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'))
|
2006-09-15 13:54:16 +02:00
|
|
|
sugar_python_path.append(os.path.join(sugar_source_dir, 'services'))
|
2006-08-12 23:35:52 +02:00
|
|
|
|
|
|
|
sugar_bin_path = []
|
|
|
|
sugar_bin_path.append(os.path.join(sugar_source_dir, 'shell'))
|
2006-09-15 13:54:16 +02:00
|
|
|
sugar_bin_path.append(os.path.join(sugar_source_dir, 'services/presence'))
|