Clarify README. Remove the sugar utility as it's kinda misleading.
This commit is contained in:
parent
7367dfad19
commit
87241c2e8c
24
README
24
README
@ -11,28 +11,28 @@ Building
|
|||||||
|
|
||||||
You will need gnome-common.
|
You will need gnome-common.
|
||||||
|
|
||||||
./autogen.sh
|
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
Running
|
Running
|
||||||
=======
|
=======
|
||||||
|
|
||||||
sugar
|
To run the python sources from your source tree run
|
||||||
|
|
||||||
|
$ ./setup-run-from-source.sh
|
||||||
|
|
||||||
Debug
|
in the top-level directory. Icons and other resources are still loaded
|
||||||
=====
|
from the installed location though.
|
||||||
|
|
||||||
To run the shell:
|
To run the shell
|
||||||
|
|
||||||
sugar shell
|
$ cd shell/src
|
||||||
|
$ ./shell.py
|
||||||
|
|
||||||
To run the chat activity:
|
You can run activities like this
|
||||||
|
|
||||||
sugar chat
|
$ cd browser
|
||||||
|
$ ./browser.py
|
||||||
To run the web activity:
|
|
||||||
|
|
||||||
sugar browser
|
|
||||||
|
|
||||||
|
Just remember to have the shell running
|
||||||
|
28
sugar
28
sugar
@ -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 "Unkown activity"
|
|
Loading…
Reference in New Issue
Block a user