From d677e8f919eba233305cc06b64f74f16d1283904 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 24 Sep 2009 18:48:32 +0000 Subject: produce .pyo's as well as .pyc's on install git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818583 13f79535-47bb-0310-9956-ffa450edef68 --- python/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/Makefile b/python/Makefile index 31547c8f57..ff4a9af4f1 100644 --- a/python/Makefile +++ b/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 -- cgit v1.2.1