Pull Paver requirements out into a separate file

This commit is contained in:
David Baumgold
2014-03-19 15:17:45 -04:00
parent 4fbfbf11ff
commit 1219bd757e
7 changed files with 10 additions and 7 deletions

View File

@@ -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")

View File

@@ -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}"

View File

@@ -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 => "")

View File

@@ -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]

View File

@@ -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)

View File

@@ -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

View File

@@ -0,0 +1,5 @@
# Requirements to run Paver
Paver==1.2.1
psutil==1.2.1
lazy==1.1
path.py==3.0.1