[FIX] generate the pyc for redhat

lp bug: https://launchpad.net/bugs/311981 fixed

bzr revid: stephane@tinyerp.com-20090130151903-nggkdf0iord5o0g3
This commit is contained in:
Stephane Wirtel 2009-01-30 16:19:03 +01:00
parent 2d58fc61e2
commit 5e0e536906
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
# Need to overwrite the install-part of the RPM to append the
# compression-suffix onto the filenames for the man-pages.
#
python -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)"
python -O -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)"
python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES