[kupfer] wscript: Do not support installing into $PYTHONDIR
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] wscript: Do not support installing into $PYTHONDIR
- Date: Mon, 8 Feb 2010 13:38:15 +0000 (UTC)
commit cfea1b8d5adb920bb5c9abffb90d2255b073c6b2
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Mon Feb 8 13:45:23 2010 +0100
wscript: Do not support installing into $PYTHONDIR
We always install directly into $DATADIR/kupfer
wscript | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/wscript b/wscript
index 1f6b3f4..8dae578 100644
--- a/wscript
+++ b/wscript
@@ -78,9 +78,6 @@ def set_options(opt):
opt.add_option('--pyo',action='store_true',default=False,help='Install optimised compiled .pyo files [Default:not install]',dest='pyo')
opt.add_option('--no-runtime-deps',action='store_false',default=True,
help='Do not check for any runtime dependencies',dest='check_deps')
- opt.add_option('--pythondir-install',action='store_true',default=False,
- help="Install Kupfer's modules as standard python modules [Default: Install into DATADIR]",
- dest='pythondir_install')
opt.sub_options("extras")
def configure(conf):
@@ -95,8 +92,8 @@ def configure(conf):
conf.env["VERSION"] = VERSION
conf.sub_config("extras")
- if not Options.options.pythondir_install:
- conf.env["PYTHONDIR"] = Utils.subst_vars("${DATADIR}/kupfer", conf.env)
+ # Setup PYTHONDIR so we install into $DATADIR
+ conf.env["PYTHONDIR"] = Utils.subst_vars("${DATADIR}/kupfer", conf.env)
Utils.pprint("NORMAL",
"Installing python modules into: %(PYTHONDIR)s" % conf.env)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]