Browse Source

Ignore py compilation issues

configure-hook
James Page 3 years ago
parent
commit
c9595fd587
  1. 3
      snapcraft.yaml

3
snapcraft.yaml

@ -336,7 +336,8 @@ 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 lib/python2.7
# Ignore errors due to syntax issues in foobar python 2.
./usr/bin/python2.7 -m compileall . || true
keystone-config:
after: [openstack-projects]

Loading…
Cancel
Save