Refactor the directory structure to match the packages

This commit is contained in:
Marco Pesenti Gritti
2006-05-12 02:32:03 -04:00
parent 1f057e0d0b
commit f6491e6afc
33 changed files with 9 additions and 3609 deletions
-28
View File
@@ -1,28 +0,0 @@
#!/usr/bin/python
import sys
import os
if len(sys.argv) == 1:
# FIXME Start a session
# We are lucky and this
# currently behave as we want.
# The chat depends on the
# web browser, so both activities
# are spanned. But obviously we
# need something better.
import sugar.chat
sugar.chat.main()
elif sys.argv[1] == 'shell':
import sugar.shell
sugar.shell.main()
elif sys.argv[1] == 'chat':
import sugar.chat
sugar.chat.main()
elif sys.argv[1] == 'browser':
import sugar.browser
sugar.browser.main()
else:
print "Unknown activity"