Commit 1219bd75 by David Baumgold

Pull Paver requirements out into a separate file

parent 4fbfbf11
......@@ -7,7 +7,7 @@ def deprecated(deprecated, deprecated_by, *args)
task deprecated, [:system, :env] do |t,args|
# Need to install paver dependencies for the commands to work!
sh("pip install Paver==1.2.1 psutil==1.2.1 lazy==1.1 path.py==3.0.1")
sh("pip install -r requirements/edx/paver.txt")
args.with_defaults(:system => "lms", :env => "dev")
......
......@@ -7,7 +7,7 @@ def deprecated(deprecated, deprecated_by, *args)
task deprecated, [:system] do |t,args|
# Need to install paver dependencies for the commands to work!
sh("pip install Paver==1.2.1 psutil==1.2.1 lazy==1.1 path.py==3.0.1")
sh("pip install -r requirements/edx/paver.txt")
args.with_defaults(:system => 'lms')
deprecated_by = "#{deprecated_by} #{args.system}"
......
......@@ -7,7 +7,7 @@ def deprecated(deprecated, deprecated_by)
task deprecated, [:arg1, :arg2, :arg3, :arg4] do |t,args|
# Need to install paver dependencies for the commands to work!
sh("pip install Paver==1.2.1 psutil==1.2.1 lazy==1.1 path.py==3.0.1")
sh("pip install -r requirements/edx/paver.txt")
if deprecated == "cms" or deprecated == "lms"
args.with_defaults(:arg1 => "dev", :arg2 => "")
......
......@@ -7,7 +7,7 @@ def deprecated(deprecated, deprecated_by)
task deprecated, [:type, :quiet] do |t,args|
# Need to install paver dependencies for the commands to work!
sh("pip install Paver==1.2.1 psutil==1.2.1 lazy==1.1 path.py==3.0.1")
sh("pip install -r requirements/edx/paver.txt")
args.with_defaults(:quiet => "quiet")
new_cmd = [deprecated_by]
......
......@@ -7,7 +7,7 @@ def deprecated(deprecated, deprecated_by)
task deprecated do
# Need to install paver dependencies for the commands to work!
sh("pip install Paver==1.2.1 psutil==1.2.1 lazy==1.1 path.py==3.0.1")
sh("pip install -r requirements/edx/paver.txt")
puts("Task #{deprecated} has been deprecated. Use #{deprecated_by} instead.".red)
sh(deprecated_by)
......
......@@ -49,11 +49,9 @@ nltk==2.0.4
oauthlib==0.5.1
paramiko==1.9.0
path.py==3.0.1
Paver==1.2.1
Pillow==1.7.8
pip>=1.4
polib==1.0.3
psutil==1.2.1
pycrypto>=2.6
pygments==1.6
pygraphviz==1.1
......
# Requirements to run Paver
Paver==1.2.1
psutil==1.2.1
lazy==1.1
path.py==3.0.1
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