diff options
author | Tony Anderson <tony_anderson@usa.net> | 2009-09-06 09:34:18 (GMT) |
---|---|---|
committer | Tony Anderson <tony_anderson@usa.net> | 2009-09-06 09:34:18 (GMT) |
commit | f597ce867926e2363324ba33f78c89dca06039ba (patch) | |
tree | db4d87e9ed38786a307db459a908286a27a3fb3b | |
parent | 63636bdfccca6023c50fce3b06d170ea50e062d7 (diff) |
correct packaging error
-rwxr-xr-x | setup.py | 33 |
1 files changed, 21 insertions, 12 deletions
@@ -1,12 +1,21 @@ -#!/usr/bin/env python -try: - from sugar.activity import bundlebuilder - bundlebuilder.start("ClassroomPresenter") -except ImportError: - import os - #os.system("find ./ | sed 's,^./,ClassroomPresenter.activity/,g' > MANIFEST") - os.system('rm ClassroomPresenter.xo') - os.chdir('..') - os.system('zip -r ClassroomPresenter.xo ClassroomPresenter.activity') - os.system('mv ClassroomPresenter.xo ./ClassroomPresenter.activity') - os.chdir('ClassroomPresenter.activity') +#!/usr/bin/python + +# 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 + +from sugar.activity import bundlebuilder + +bundlebuilder.start() |