From 385b7ca541c7f8a63dd8da90bc9c81c0cd552c2a Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Tue, 6 Jun 2006 12:27:19 +0000 Subject: [PATCH] introduced path indepent python compilation git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@50 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/mailbox/Makefile | 2 +- apps/mailbox/py_comp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 apps/mailbox/py_comp diff --git a/apps/mailbox/Makefile b/apps/mailbox/Makefile index 3d049a88..ae7ec60d 100644 --- a/apps/mailbox/Makefile +++ b/apps/mailbox/Makefile @@ -28,7 +28,7 @@ clean: rm -f ${TARBALL_PREFIX}*.tar.gz compile: - python${PYTHON_VERSION} /usr/local/lib/python${PYTHON_VERSION}/compileall.py -q . + python${PYTHON_VERSION} py_comp -l -q . install: all install -d ${BASEDIR}/${LIB_INSTALLDIR} diff --git a/apps/mailbox/py_comp b/apps/mailbox/py_comp new file mode 100644 index 00000000..911ce58f --- /dev/null +++ b/apps/mailbox/py_comp @@ -0,0 +1,2 @@ +import compileall +compileall.main()