Skip to content

Commit

Permalink
Workaround for extras not working with .
Browse files Browse the repository at this point in the history
See also pypa/pip#1236
  • Loading branch information
coderanger committed Jan 21, 2014
1 parent 5d47af1 commit d6a5ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions config/software/brache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,5 @@
"PATH" => "/opt/brache/embedded/bin:#{ENV['PATH']}",
}

command "#{install_dir}/embedded/bin/pip install --install-option=--prefix=#{install_dir}/embedded .", env: env
command [
"#{install_dir}/embedded/bin/pip install",
"--install-option=--prefix=#{install_dir}/embedded",
"bogs",
"'gevent==1.0'",
"'gunicorn>=18.0,<19.0'",
"'sterling>=3.0.0,<3.1.0'",
"'newrelic>=2.8.0.7'",
"'raven==3.4.1'",
"'psycopg2==2.5.2'"
].join(" "), env: env
command "#{install_dir}/embedded/bin/pip install --install-option=--prefix=#{install_dir}/embedded file://#{project_dir}#egg=brache[user]", env: env
end
2 changes: 1 addition & 1 deletion config/software/rump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
end
end

command "#{install_dir}/embedded/bin/pip install --install-option=--prefix=#{install_dir}/embedded . kazoo>=1.3.1 newrelic>=1.13.1.31 raven==3.5.2", cwd: "#{project_dir}/src"
command "#{install_dir}/embedded/bin/pip install --install-option=--prefix=#{install_dir}/embedded file://#{project_dir}/src#egg=rump[kazoo,newrelic,raven]", cwd: "#{project_dir}/src"
command "#{install_dir}/embedded/bin/pip install --install-option=--prefix=#{install_dir}/embedded brache[router]"
command "ln -fs #{install_dir}/embedded/bin/rump #{install_dir}/bin/rump"
command "ln -fs #{install_dir}/embedded/bin/rumpd #{install_dir}/bin/rumpd"
Expand Down

0 comments on commit d6a5ad2

Please sign in to comment.