diff options
author | Antoine van Gelder <hummingbird@hivemind.net> | 2008-09-02 13:27:43 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-09-02 13:36:54 (GMT) |
commit | dc0f9e89b4cf835c60d08ddb0c8c31b319fd1c02 (patch) | |
tree | fb03f6b1935f980d2b27e4f4319eee9d5d9eaaeb /scripts | |
parent | 8b52e04028d4c93549c251bdeb7f027f44cb627c (diff) |
Updated setup.py install step to conform to new bundlebuilder behaviour
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bundlemodule.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/bundlemodule.py b/scripts/bundlemodule.py index 47aaf9d..2372ba3 100644 --- a/scripts/bundlemodule.py +++ b/scripts/bundlemodule.py @@ -78,10 +78,8 @@ class BundleModule(Package): srcdir = self.get_srcdir(buildscript) builddir = self.get_builddir(buildscript) python = os.environ.get('PYTHON', 'python') - cmd = [python, 'setup.py'] - prefix = os.path.join(buildscript.config.prefix) - cmd.extend(['install', os.path.join(prefix, 'share', 'sugar', - 'activities')]) + cmd = [python, 'setup.py', 'install'] + cmd.extend(['--prefix', buildscript.config.prefix]) buildscript.execute(cmd, cwd=srcdir) buildscript.packagedb.add(self.name, self.get_revision() or '') do_install.next_state = Package.STATE_DONE |