support py3

manage.py should use the correct interpreter when installing
devstack

Change-Id: I78e352db36553ddfab8498efdf712aa806047fc5
This commit is contained in:
Eyal 2018-04-26 15:53:20 +03:00
parent 41b379877a
commit 49cffd1c18
3 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function configure_heat_dashboard {
# NOTE: If locale directory does not exist, compilemessages will fail,
# so check for an existence of locale directory is required.
if [ -d ${HEAT_DASHBOARD_DIR}/heat_dashboard/locale ]; then
(cd ${HEAT_DASHBOARD_DIR}/heat_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
(cd ${HEAT_DASHBOARD_DIR}/heat_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages)
fi
}

View File

@ -13,6 +13,7 @@
# Default to Horizons test settings to avoid any missing keys
import heat_dashboard.enabled
import openstack_dashboard.enabled
from openstack_dashboard.test.settings import * # noqa: F403,H303

View File

@ -18,6 +18,7 @@ classifier =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
[files]
packages =