Permalink
Browse files

Make it work with grpc and gax

  • Loading branch information...
MartinSahlen committed May 26, 2017
1 parent 1c1b10b commit 6f9f0d21a03fc6b3020c10c3e7f43b0a607d495b
View
@@ -0,0 +1,4 @@
include README.md
include cloudfn/docker/*
include cloudfn/hooks/*
include cloudfn/template/*
View
@@ -18,7 +18,7 @@
def repo_root():
return os.path.dirname(__file__) + '/../'
return os.path.dirname(__file__) + '/'
def hooks_path():
@@ -52,6 +52,8 @@ def build_for_production(file_name='main.py'):
def build_for_local(file_name='main.py'):
print hooks_path()
print repo_root()
base = [
'pyinstaller ', file_name, '-y', '-n', output_name(),
'--clean', '--onedir',
File renamed without changes.
@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('grpcio')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-bigtable')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-datastore')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-dns')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-error-reporting')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-language')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-logging')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-monitoring')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-pubsub')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-resource-manager')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-runtimeconfig')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-spanner')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-speech')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-storage')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-translate')
datas += copy_metadata('google-cloud-core')
@@ -1,3 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-cloud-vision')
datas += copy_metadata('google-cloud-core')
@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('google-gax')
@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('grpcio')
File renamed without changes.

This file was deleted.

Oops, something went wrong.
View
@@ -2,7 +2,7 @@
setup(
name='pycloudfn',
version='0.1.13',
version='0.1.24',
description='GCP Cloud functions in python',
url='https://github.com/MartinSahlen/cloud-functions-python',
author='Martin Sahlen',

0 comments on commit 6f9f0d2

Please sign in to comment.