diff options
author | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-09-28 10:27:47 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-09-28 10:27:47 (GMT) |
commit | 091adf5ee3ae797507328ab72225133039dfdebb (patch) | |
tree | 27400fde442e59914b2227fa3dbee54e997591c9 /bin | |
parent | 28c225bcbbc76f666bbdcd6c8f31232fc2720947 (diff) |
Move the shell code into site-packages.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/.gitignore | 4 | ||||
-rw-r--r-- | bin/sugar (renamed from bin/sugar.in) | 0 | ||||
-rw-r--r-- | bin/sugar-backup | 11 | ||||
-rw-r--r-- | bin/sugar-control-panel (renamed from bin/sugar-emulator.in) | 6 | ||||
-rw-r--r-- | bin/sugar-emulator (renamed from bin/sugar-control-panel.in) | 6 | ||||
-rw-r--r-- | bin/sugar-shell (renamed from bin/sugar-shell.in) | 5 | ||||
-rw-r--r-- | bin/sugar-ui-check (renamed from bin/sugar-ui-check.in) | 6 |
7 files changed, 4 insertions, 34 deletions
diff --git a/bin/.gitignore b/bin/.gitignore index 9f9897c..9e78b64 100644 --- a/bin/.gitignore +++ b/bin/.gitignore @@ -1,5 +1 @@ -sugar-control-panel -sugar-emulator -sugar-shell sugar-shell-service -sugar-ui-check diff --git a/bin/sugar-backup b/bin/sugar-backup deleted file mode 100644 index c90da63..0000000 --- a/bin/sugar-backup +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env python - -import sys -import time - -i = 0 -while i <= 100: - time.sleep(0.5) - sys.stdout.write('%d\n' % i) - sys.stdout.flush() - i += 5 diff --git a/bin/sugar-emulator.in b/bin/sugar-control-panel index 1ee6fc5..4f14e77 100644 --- a/bin/sugar-emulator.in +++ b/bin/sugar-control-panel @@ -15,11 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import sys - -sys.path.insert(0, '@prefix@/share/sugar/shell') - -from emulator import main +from jarube.controlpanel.cmd import main main() diff --git a/bin/sugar-control-panel.in b/bin/sugar-emulator index 922f95c..c42612b 100644 --- a/bin/sugar-control-panel.in +++ b/bin/sugar-emulator @@ -15,11 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import sys - -sys.path.insert(0, '@prefix@/share/sugar/shell') - -from controlpanel.cmd import main +from jarube.emulator import main main() diff --git a/bin/sugar-shell.in b/bin/sugar-shell index 55a25a7..176196b 100644 --- a/bin/sugar-shell.in +++ b/bin/sugar-shell @@ -16,7 +16,6 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import os -import sys if os.environ.has_key('SUGAR_THEME'): theme = os.environ['SUGAR_THEME'] @@ -25,9 +24,7 @@ else: os.environ['GTK2_RC_FILES'] = '@prefix@/share/sugar/data/%s.gtkrc' % theme -sys.path.insert(0, '@prefix@/share/sugar/shell') - -from main import main +from jarube.main import main main() diff --git a/bin/sugar-ui-check.in b/bin/sugar-ui-check index 03166ab..edf0c62 100644 --- a/bin/sugar-ui-check.in +++ b/bin/sugar-ui-check @@ -15,11 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import sys - -sys.path.insert(0, '@prefix@/share/sugar/shell') - -import uicheck +import jarube.uicheck uicheck.main() |