homebrew-core/Formula/app-engine-python.rb
Nathan Henrie aaa21d0c33 app-engine-python: add remaining executable symlinks to bin
The Google App Engine GUI symlinks 16 additional executables to the
PATH. The existing formula missed a handful of these, causing
dev_appserver to raise an error when attempting to import them (e.g.
`import wrapper_util.py`). This simply adds the remaining executables to
the list of those to be linked.

Closes Homebrew/homebrew#45828.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-09 20:07:05 +00:00

39 lines
997 B
Ruby

class AppEnginePython < Formula
desc "Google App Engine"
homepage "https://cloud.google.com/appengine/docs"
url "https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.27.zip"
sha256 "6192f295969dabf8659ce9a698450154f7c8c35b89c6e3cb52908c8f50d7c1f4"
revision 1
bottle :unneeded
conflicts_with "app-engine-go-32",
:because => "both install the same binaries"
conflicts_with "app-engine-go-64",
:because => "both install the same binaries"
def install
cd ".."
share.install "google_appengine" => name
%w[
_python_runtime.py
_php_runtime.py
api_server.py
appcfg.py
backends_conversion.py
bulkload_client.py
bulkloader.py
dev_appserver.py
download_appstats.py
endpointscfg.py
gen_protorpc.py
google_sql.py
php_cli.py
remote_api_shell.py
run_tests.py
wrapper_util.py
].each do |fn|
bin.install_symlink share/name/fn
end
end
end