Scope compileall to python directories

This commit is contained in:
James Page 2018-11-01 15:12:59 +00:00
parent f8986f7abc
commit e2802efa39
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ parts:
# as stated in PEP-0370
sed -i usr/lib/python2.7/site.py -e 's/^ENABLE_USER_SITE = None$/ENABLE_USER_SITE = False/'
# This is the last step, let's now compile all our pyc files.
./usr/bin/python2.7 -m compileall .
./usr/bin/python2.7 -m compileall usr/lib/python2.7
keystone-config:
after: [openstack-projects]