summaryrefslogtreecommitdiff
path: root/qpid/python/Makefile
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-09-24 18:48:32 +0000
committerRafael H. Schloming <rhs@apache.org>2009-09-24 18:48:32 +0000
commit281eb171f5ad6c5019ad8ce418562399f8d10a1c (patch)
tree9f00be13edc50d606351c8c07249396b0797aeec /qpid/python/Makefile
parent1877ba25eb79da9efb486d6d5a52454bca6ebd60 (diff)
downloadqpid-python-281eb171f5ad6c5019ad8ce418562399f8d10a1c.tar.gz
produce .pyo's as well as .pyc's on install
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818583 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/Makefile')
-rw-r--r--qpid/python/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/Makefile b/qpid/python/Makefile
index 31547c8f57..ff4a9af4f1 100644
--- a/qpid/python/Makefile
+++ b/qpid/python/Makefile
@@ -36,7 +36,7 @@ SRCS=$(shell find $(DIRS) -name "*.py") qpid_config.py
BUILD=build
TARGETS=$(SRCS:%.py=$(BUILD)/%.py)
-PYCC=python -c "import compileall, sys; compileall.compile_dir(sys.argv[1])"
+PYCC=python -O -c "import compileall; compileall.main()"
all: build