Commit 6c60c4a4 by J. Cliff Dyer

Uninstall obsolete python packages before installing new ones.

parent d5acd29a
...@@ -194,8 +194,18 @@ ...@@ -194,8 +194,18 @@
- install - install
- install:app-requirements - install:app-requirements
- name: Uninstall obsolete python requirements
command: >
{{ edxapp_venv_dir}}/bin/paver uninstall_python_packages
chdir="{{ edxapp_code_dir }}"
sudo_user: "{{ edxapp_user }}"
environment: "{{ edxapp_environment }}"
tags:
- install
- install:app-requirements
# Install the python requirements into {{ edxapp_venv_dir }} # Install the python requirements into {{ edxapp_venv_dir }}
- name : install python requirements - name: install python requirements
# Need to use command rather than pip so that we can maintain the context of our current working directory; some # Need to use command rather than pip so that we can maintain the context of our current working directory; some
# requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly # requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly
# installs everything into that virtual environment. # installs everything into that virtual environment.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment