Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09dc455

Browse files
author
jtimberman
committed
cook-18, python package prefix, corrected cwd for nltk build
1 parent a538f93 commit 09dc455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes/default.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
dev imaging matplotlib matplotlib-data matplotlib-doc mysqldb
2525
numpy numpy-ext paramiko scipy setuptools sqlite
2626
}.each do |pkg|
27-
package pkg do
27+
package "python-#{pkg}" do
2828
action :install
2929
end
3030
end
3131

3232
bash "install-nltk" do
3333
not_if do File.exists?("/usr/lib/python2.5/site-packages/nltk-0.9.8.egg-info") end
34-
pwd "/tmp"
34+
cwd "/tmp"
3535
code <<-EOH
3636
wget http://nltk.googlecode.com/files/nltk-0.9.8.zip
3737
unzip nltk-0.9.8.zip

0 commit comments

Comments
 (0)