Commit 8f86fcba by Feanil Patel

Run the pre.requirements file before the base requirements file.

parent d4088afb
...@@ -82,6 +82,14 @@ ...@@ -82,6 +82,14 @@
- install - install
# Install the python post requirements into {{ venv_dir }}
- name : install python post-requirements
pip: requirements="{{pre_requirements_file}}" virtualenv="{{venv_dir}}" state=present
tags:
- lms
- cms
- install
# Install the python modules into {{ venv_dir }} # Install the python modules into {{ venv_dir }}
- name : install base python packages using the shell - name : install base python packages using the shell
# Need to use shell rather than pip so that we can maintain the context of our current working directory; some # Need to use shell rather than pip so that we can maintain the context of our current working directory; some
......
...@@ -27,6 +27,7 @@ lms_xml_env_config: {} ...@@ -27,6 +27,7 @@ lms_xml_env_config: {}
lms_source_repo: git@github.com:edx/edx-platform.git lms_source_repo: git@github.com:edx/edx-platform.git
lms_version: 'HEAD' lms_version: 'HEAD'
local_requirements_file: "{{ platform_code_dir }}/requirements/edx/local.txt" local_requirements_file: "{{ platform_code_dir }}/requirements/edx/local.txt"
pre_requirements_file: "{{ platform_code_dir }}/requirements/edx/pre.txt"
post_requirements_file: "{{ platform_code_dir }}/requirements/edx/post.txt" post_requirements_file: "{{ platform_code_dir }}/requirements/edx/post.txt"
base_requirements_file: "{{ platform_code_dir }}/requirements/edx/base.txt" base_requirements_file: "{{ platform_code_dir }}/requirements/edx/base.txt"
github_requirements_file: "{{ platform_code_dir }}/requirements/edx/github.txt" github_requirements_file: "{{ platform_code_dir }}/requirements/edx/github.txt"
......
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