diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-09-24 18:48:32 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-09-24 18:48:32 +0000 |
commit | d677e8f919eba233305cc06b64f74f16d1283904 (patch) | |
tree | 53a2fb516e18220d953f4f773c6afb6c013fa927 | |
parent | c20ddb1ec5f95ee7f9d85db22ef469a0fa027621 (diff) | |
download | qpid-python-d677e8f919eba233305cc06b64f74f16d1283904.tar.gz |
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
-rw-r--r-- | python/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |