Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
James Cameron 381c9b1b61 Fix install TypeError
Activity install target used by downstream activity packaging did fail
with;

Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    bundlebuilder.start()
  File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 633, in start
    globals()['cmd_' + options.command](config, options)
  File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 513, in cmd_install
    options.install_desktop_file)
  File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 290, in install
    for f in self.get_files_in_git():
  File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 209, in get_files_in_git
    stdout.strip('\n').split('\n')]
TypeError: a bytes-like object is required, not 'str'

Workaround was to hide .git directory.

Cause was subprocess pipe returning a bytes-like object in Python 3.

Regression introduced by incomplete ed46c21 ("Port to six").

Fixes https://github.com/sugarlabs/sugar-toolkit-gtk3/issues/426
2019-08-28 13:36:44 +10:00
bin Port from Python 2 to six 2019-03-13 14:23:06 +11:00
doc Release Sugar 0.114 stable 2019-05-18 12:18:53 +10:00
examples Port from Python 2 to six 2019-03-13 14:23:06 +11:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po Fix check-po target of Makefile and update LINGUAS 2019-06-11 08:11:20 +10:00
src Fix install TypeError 2019-08-28 13:36:44 +10:00
tests Port from Python 2 to six 2019-03-13 14:23:06 +11:00
.flake8 Add flake8 suppression 2019-03-13 15:01:07 +11:00
.gitignore Add distributed source to .gitignore 2019-03-28 15:29:02 +11:00
AUTHORS
autogen.sh Modernize gettext setup 2014-03-30 11:54:48 +01:00
configure.ac Release Sugar 0.114 stable 2019-05-18 12:18:53 +10:00
COPYING Make it distcheck. Fix license. 2008-02-06 16:43:10 +01:00
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
make-doc.sh Change make-doc.sh interpreter 2015-12-30 00:11:40 -05:00
Makefile.am Fix check-po target of Makefile and update LINGUAS 2019-06-11 08:11:20 +10:00
README.md README - add build and install 2017-07-19 12:38:43 +10:00

Sugar Toolkit

Sugar Toolkit provides services and a set of GTK+ widgets to build activities and other Sugar components on Linux based computers.

This is the GTK+ 3 binding of the Sugar Toolkit.

https://www.sugarlabs.org/

https://wiki.sugarlabs.org/

Installing on Debian or Ubuntu

Automatically done when you install Sugar desktop.

To install Sugar Toolkit alone without Sugar desktop,

sudo apt install python-sugar3

Installing on Fedora

Automatically done when you install Sugar desktop.

To install Sugar Toolkit alone without Sugar desktop,

sudo dnf install sugar-toolkit-gtk3

Building

Sugar Toolkit follows the GNU Coding Standards.

Install all dependencies, especially sugar-artwork and sugar-datastore.

Clone the repository, run autogen.sh, then make and make install.