Browse Source

support py3

manage.py should use the correct interpreter when installing
devstack

Change-Id: I78e352db36553ddfab8498efdf712aa806047fc5
changes/91/564491/3
Eyal 3 years ago
parent
commit
49cffd1c18
3 changed files with 3 additions and 1 deletions
  1. +1
    -1
      devstack/plugin.sh
  2. +1
    -0
      heat_dashboard/test/settings.py
  3. +1
    -0
      setup.cfg

+ 1
- 1
devstack/plugin.sh 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
}


+ 1
- 0
heat_dashboard/test/settings.py 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


+ 1
- 0
setup.cfg 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 =


Loading…
Cancel
Save