Commit c3f0d31c by Calen Pennington

Split out requirements that come from the local mitx repo and those that come…

Split out requirements that come from the local mitx repo and those that come from github, and upgrade the local requirements before running tests
parent 79a08266
# Python libraries to install directly from github
-e git://github.com/MITx/django-staticfiles.git@6d2504e5c8#egg=django-staticfiles
-e git://github.com/MITx/django-pipeline.git#egg=django-pipeline
-e git://github.com/MITx/django-wiki.git@e2e84558#egg=django-wiki
-e git://github.com/dementrock/pystache_custom.git@776973740bdaad83a3b029f96e415a7d1e8bec2f#egg=pystache_custom-dev
......@@ -15,9 +15,6 @@ pip install -q -r pre-requirements.txt
yes w | pip install -q -r requirements.txt
[ ! -d askbot ] || pip install -q -r askbot/askbot_requirements.txt
# Install the latest entry points from xmodule
pip install -q --upgrade -e common/lib/xmodule
rake clobber
TESTS_FAILED=0
rake test_cms[false] || TESTS_FAILED=1
......
......@@ -15,9 +15,6 @@ pip install -q -r pre-requirements.txt
yes w | pip install -q -r requirements.txt
[ ! -d askbot ] || pip install -q -r askbot/askbot_requirements.txt
# Install the latest entry points from xmodule
pip install -q --upgrade -e common/lib/xmodule
rake clobber
TESTS_FAILED=0
rake test_lms[false] || TESTS_FAILED=1
......
# Python libraries to install that are local to the mitx repo
-e common/lib/capa
-e common/lib/xmodule
......@@ -49,8 +49,8 @@ default_options = {
task :predjango do
sh("find . -type f -name *.pyc -delete")
sh("pip install -q -e common/lib/xmodule -e common/lib/capa")
sh("git submodule update --init")
sh('pip install -q --upgrade -r local-requirements.txt')
sh('git submodule update --init')
end
task :clean_test_files do
......
-e git://github.com/MITx/django-staticfiles.git@6d2504e5c8#egg=django-staticfiles
-e git://github.com/MITx/django-pipeline.git#egg=django-pipeline
-e git://github.com/MITx/django-wiki.git@e2e84558#egg=django-wiki
-e git://github.com/dementrock/pystache_custom.git@776973740bdaad83a3b029f96e415a7d1e8bec2f#egg=pystache_custom-dev
-e common/lib/capa
-e common/lib/xmodule
-r github-requirements.txt
-r local-requirements.txt
\ No newline at end of file
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