From a58ba9b5a5003123c898d44fa62379f86c1577bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Tue, 28 Nov 2006 18:45:04 +0000 Subject: [PATCH] disable optimizations also to prevent pyo's --- pisi/actionsapi/pythonmodules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/actionsapi/pythonmodules.py b/pisi/actionsapi/pythonmodules.py index fb2ac8d8..e3fa14ce 100644 --- a/pisi/actionsapi/pythonmodules.py +++ b/pisi/actionsapi/pythonmodules.py @@ -50,7 +50,7 @@ def compile(parameters = ''): def install(parameters = ''): '''does python setup.py install''' - if system('python setup.py install --root=%s --no-compile %s' % (get.installDIR(), parameters)): + if system('python setup.py install --root=%s --no-compile -O0 %s' % (get.installDIR(), parameters)): raise InstallError, _('Install failed.') DDOCS = 'CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS PKG-INFO \