Commit 79a029ce by Carlos Andrés Rocha Committed by Calen Pennington

Clean root project directory

parent 96894452
# Python libraries to install that are local to the mitx repo
-e common/lib/capa
-e common/lib/xmodule
-e .
# We use `scipy` in our project, which relies on `numpy`. `pip` apparently
# installs packages in a two-step process, where it will first try to build
# all packages, and then try to install all packages. As a result, if we simply
# added these packages to the top of `requirements.txt`, `pip` would try to
# build `scipy` before `numpy` has been installed, and it would fail. By
# separating this out into a `pre-requirements.txt` file, we can make sure
# that `numpy` is built *and* installed before we try to build `scipy`.
numpy==1.6.2
distribute>=0.6.28
......@@ -172,17 +172,17 @@ end
desc "Install all python prerequisites for the lms and cms"
task :install_python_prereqs do
sh('pip install -r requirements.txt')
sh('pip install -r requirements/base.txt')
# Check for private-requirements.txt: used to install our libs as working dirs,
# or personal-use tools.
if File.file?("private-requirements.txt")
sh('pip install -r private-requirements.txt')
if File.file?("requirements/private.txt")
sh('pip install -r requirements/private.txt')
end
end
task :predjango do
sh("find . -type f -name *.pyc -delete")
sh('pip install -q --no-index -r local-requirements.txt')
sh('pip install -q --no-index -r requirements/local.txt')
end
task :clean_test_files do
......
-r github-requirements.txt
-r local-requirements.txt
\ No newline at end of file
-r repo-requirements.txt
-r repo.txt
beautifulsoup4==4.1.3
beautifulsoup==3.2.1
boto==2.6.0
......
# Python libraries to install that are local to the mitx repo
-e ../common/lib/capa
-e ../common/lib/xmodule
-e ../
-r github.txt
-r local.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