Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-17 08:25:47 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-17 08:25:47 (GMT)
commitec3094e08b84f98228dd981e19042470815e30ef (patch)
tree2f8d552b616d83919ee2bb5f3f56328a15441302 /sugar
parent9ca5c6c0bf8e5679235373620ed455edebb338f4 (diff)
Move the running from source dir hacks in the emulator.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/env.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/sugar/env.py b/sugar/env.py
index e70fcba..65081fc 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -24,26 +24,6 @@ try:
except ImportError:
from sugar.__installed__ import *
-import sugar.setup
-
-def setup_system():
- for path in sugar_bin_path:
- if os.environ.has_key('PATH'):
- old_path = os.environ['PATH']
- os.environ['PATH'] = path + ':' + old_path
- else:
- os.environ['PATH'] = path
-
- if sugar_source_dir:
- source = os.path.join(sugar_source_dir, 'activities')
- runner = os.path.join(sugar_source_dir, 'shell/sugar-activity-factory')
- sugar.setup.setup_activities(source, get_activity_info_dir(), runner)
-
- bin = os.path.join(sugar_source_dir,
- 'services/presence/sugar-presence-service')
- sugar.setup.write_service('org.laptop.Presence', bin,
- get_activity_info_dir())
-
def get_profile_path():
if os.environ.has_key('SUGAR_PROFILE'):
profile_id = os.environ['SUGAR_PROFILE']