diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-05-24 22:54:23 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-05-24 22:54:23 (GMT) |
commit | 422d90697bb99b89b8145a7cb15cc5a45e369369 (patch) | |
tree | 76731c8414bae283b41d788ab8381ccedab348f2 | |
parent | 0cd33713406bcf44d1267d2031bb906a0f222d76 (diff) |
v3
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | activity/activity.info | 3 | ||||
-rwxr-xr-x | setup.py | 48 |
3 files changed, 25 insertions, 30 deletions
@@ -1,3 +1,7 @@ +3 + +* New translations + 2 * Add color game diff --git a/activity/activity.info b/activity/activity.info index 8dd06d0..0df5a98 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,8 +1,9 @@ [Activity] name = Recall -activity_version = 2 +activity_version = 3 license = GPLv3 bundle_id = org.sugarlabs.RecallActivity exec = sugar-activity RecallActivity.RecallActivity icon = activity-recall show_launcher = yes +summary = memory exercise game @@ -1,32 +1,22 @@ -#!/usr/bin/env python -import os -import sys +#!/usr/bin/python -if len(sys.argv) > 1 and '--no-sugar' == sys.argv[1]: - # Remove the argument from the stack so we don't cause problems - # for distutils - sys.argv.pop(1) - - import glob, os.path, string - from distutils.core import setup - - DATA_FILES = [ - ('icons', glob.glob('icons/*')), - ('images', glob.glob('images/*')), - ('/usr/share/applications', ['turtleart.desktop']) - ] +# Copyright (C) 2006, Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - setup (name = 'Turtle Art', - description = "A LOGO-like tool for teaching programming", - author = "Walter Bender", - author_email = "walter.bender@gmail.com", - version = '0.9.4', - packages = ['TurtleArt'], - scripts = ['turtleart'], - data_files = DATA_FILES, - ) -else: - from sugar.activity import bundlebuilder +from sugar.activity import bundlebuilder + +bundlebuilder.start() - if __name__ == "__main__": - bundlebuilder.start() |