[kupfer] wscript: Do not install .pyo files by default
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] wscript: Do not install .pyo files by default
- Date: Fri, 28 Aug 2009 09:31:39 +0000 (UTC)
commit 62c90b914c60f0f295f53fa7a380f62c4e5a451f
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Aug 27 00:57:27 2009 +0200
wscript: Do not install .pyo files by default
They are mostly useless unless you run python -O; so we do not want to
install these by default.
wscript | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/wscript b/wscript
index cf2e5fd..6a951c1 100644
--- a/wscript
+++ b/wscript
@@ -73,6 +73,8 @@ def set_options(opt):
opt.tool_options("python")
opt.tool_options("misc")
opt.tool_options("gnu_dirs")
+ opt.add_option('--nopyo',action='store_false',default=False,help='Do not install optimised compiled .pyo files [This is the default for Kupfer]',dest='pyo')
+ opt.add_option('--pyo',action='store_true',default=False,help='Install optimised compiled .pyo files [Default:not install]',dest='pyo')
def configure(conf):
conf.check_tool("python")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]