d81de6245a
Add "_python_runtime.py" to the file list. If this file is omitted then google app engine can't run in development mode and raise the following error: /usr/bin/python: can't open file '/usr/local/bin/_python_runtime.py': [Errno 2] No such file or directory Closes Homebrew/homebrew#19139. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
603 B
Ruby
18 lines
603 B
Ruby
require 'formula'
|
|
|
|
class GoogleAppEngine < Formula
|
|
homepage 'https://developers.google.com/appengine/'
|
|
url 'http://googleappengine.googlecode.com/files/google_appengine_1.7.7.zip'
|
|
sha1 '030b194351c99a706bbb35af0caf7496ccef319b'
|
|
|
|
def install
|
|
cd '..'
|
|
share.install 'google_appengine' => name
|
|
bin.mkpath
|
|
%w[
|
|
_python_runtime.py api_server.py appcfg.py bulkload_client.py bulkloader.py dev_appserver.py download_appstats.py endpointscfg.py gen_protorpc.py google_sql.py old_dev_appserver.py remote_api_shell.py
|
|
].each do |fn|
|
|
ln_s share+name+fn, bin
|
|
end
|
|
end
|
|
end
|