Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 1 bigquery/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
1 change: 1 addition & 0 deletions 1 bigquery/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-core >= 0.20.0
9 changes: 6 additions & 3 deletions 9 bigquery/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-bigquery',
Expand Down
1 change: 1 addition & 0 deletions 1 bigtable/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
2 changes: 2 additions & 0 deletions 2 bigtable/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
google-cloud-core >= 0.20.0
grpcio >= 1.0.0, < 2.0dev
10 changes: 6 additions & 4 deletions 10 bigtable/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
'grpcio >= 1.0.0, < 2.0dev',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-bigtable',
Expand Down
1 change: 1 addition & 0 deletions 1 core/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
5 changes: 5 additions & 0 deletions 5 core/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
httplib2 >= 0.9.1
googleapis-common-protos >= 1.3.4
oauth2client >= 3.0.0, < 4.0.0dev
protobuf >= 3.0.0
six
13 changes: 6 additions & 7 deletions 13 core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@
}


REQUIREMENTS = [
'httplib2 >= 0.9.1',
'googleapis-common-protos >= 1.3.4',
'oauth2client >= 3.0.0, < 4.0.0dev',
'protobuf >= 3.0.0',
'six',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-core',
Expand Down
1 change: 1 addition & 0 deletions 1 datastore/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
2 changes: 2 additions & 0 deletions 2 datastore/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
google-cloud-core >= 0.20.0
grpcio >= 1.0.0, < 2.0dev
10 changes: 6 additions & 4 deletions 10 datastore/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
'grpcio >= 1.0.0, < 2.0dev',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-datastore',
Expand Down
1 change: 1 addition & 0 deletions 1 dns/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
1 change: 1 addition & 0 deletions 1 dns/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-core >= 0.20.0
9 changes: 6 additions & 3 deletions 9 dns/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-dns',
Expand Down
1 change: 1 addition & 0 deletions 1 error_reporting/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
2 changes: 2 additions & 0 deletions 2 error_reporting/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
google-cloud-core >= 0.20.0
google-cloud-logging >= 0.20.0
10 changes: 6 additions & 4 deletions 10 error_reporting/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
'google-cloud-logging >= 0.20.0',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-error-reporting',
Expand Down
1 change: 1 addition & 0 deletions 1 language/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
1 change: 1 addition & 0 deletions 1 language/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-core >= 0.20.0
9 changes: 6 additions & 3 deletions 9 language/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-language',
Expand Down
1 change: 1 addition & 0 deletions 1 logging/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
5 changes: 5 additions & 0 deletions 5 logging/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
google-cloud-core >= 0.20.0
grpcio >= 1.0.0, < 2.0dev
google-gax >= 0.14.1, < 0.15dev
gapic-google-logging-v2 >= 0.10.1, < 0.11dev
grpc-google-logging-v2 >= 0.10.1, < 0.11dev
13 changes: 6 additions & 7 deletions 13 logging/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
'grpcio >= 1.0.0, < 2.0dev',
'google-gax >= 0.14.1, < 0.15dev',
'gapic-google-logging-v2 >= 0.10.1, < 0.11dev',
'grpc-google-logging-v2 >= 0.10.1, < 0.11dev',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-logging',
Expand Down
1 change: 1 addition & 0 deletions 1 monitoring/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
1 change: 1 addition & 0 deletions 1 monitoring/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-core >= 0.20.0
9 changes: 6 additions & 3 deletions 9 monitoring/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-monitoring',
Expand Down
1 change: 1 addition & 0 deletions 1 pubsub/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
5 changes: 5 additions & 0 deletions 5 pubsub/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
google-cloud-core >= 0.20.0
grpcio >= 1.0.0, < 2.0dev
google-gax >= 0.14.1, < 0.15dev
gapic-google-pubsub-v1 >= 0.10.1, < 0.11dev
grpc-google-pubsub-v1 >= 0.10.1, < 0.11dev
13 changes: 6 additions & 7 deletions 13 pubsub/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
'grpcio >= 1.0.0, < 2.0dev',
'google-gax >= 0.14.1, < 0.15dev',
'gapic-google-pubsub-v1 >= 0.10.1, < 0.11dev',
'grpc-google-pubsub-v1 >= 0.10.1, < 0.11dev',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-pubsub',
Expand Down
1 change: 1 addition & 0 deletions 1 resource_manager/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include requirements.txt
graft google
graft unit_tests
global-exclude *.pyc
1 change: 1 addition & 0 deletions 1 resource_manager/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-core >= 0.20.0
9 changes: 6 additions & 3 deletions 9 resource_manager/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
}


REQUIREMENTS = [
'google-cloud-core >= 0.20.0',
]
# NOTE: This assumes that no comments or other extra text
# is in the requirements.txt file.
with open(os.path.join(PACKAGE_ROOT, 'requirements.txt')) as file_obj:
REQUIREMENTS = file_obj.read()
REQUIREMENTS = REQUIREMENTS.strip().split('\n')


setup(
name='google-cloud-resource-manager',
Expand Down
10 changes: 5 additions & 5 deletions 10 scripts/generate_json_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from parinx.errors import MethodParsingException
import six

from script_utils import PROJECT_ROOT
from verify_included_modules import get_public_modules


Expand Down Expand Up @@ -601,7 +602,7 @@ def main():
parser.add_argument('--tag', help='The version of the documentation.',
default='master')
parser.add_argument('--basepath', help='Path to the library.',
default=os.path.join(os.path.dirname(__file__), '..'))
default=PROJECT_ROOT)
parser.add_argument('--show-toc', help='Prints partial table of contents',
default=False)
args = parser.parse_args()
Expand Down Expand Up @@ -635,18 +636,17 @@ def main():
}
}

BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
BASE_JSON_DOCS_DIR = os.path.join(BASE_DIR, 'docs', 'json')
BASE_JSON_DOCS_DIR = os.path.join(PROJECT_ROOT, 'docs', 'json')

DOCS_BUILD_DIR = os.path.join(BASE_DIR, 'docs', '_build')
DOCS_BUILD_DIR = os.path.join(PROJECT_ROOT, 'docs', '_build')
JSON_DOCS_DIR = os.path.join(DOCS_BUILD_DIR, 'json', args.tag)
LIB_DIR = os.path.abspath(args.basepath)

library_dir = os.path.join(LIB_DIR, 'google', 'cloud')
public_mods = get_public_modules(library_dir,
base_package='google.cloud')

generate_module_docs(public_mods, JSON_DOCS_DIR, BASE_DIR, toc)
generate_module_docs(public_mods, JSON_DOCS_DIR, PROJECT_ROOT, toc)
generate_doc_types_json(public_mods,
os.path.join(JSON_DOCS_DIR, 'types.json'))
package_files(JSON_DOCS_DIR, DOCS_BUILD_DIR, BASE_JSON_DOCS_DIR)
Expand Down
8 changes: 4 additions & 4 deletions 8 scripts/make_datastore_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
import sys
import tempfile

from script_utils import PROJECT_ROOT

ROOT_DIR = os.path.abspath(
os.path.join(os.path.dirname(__file__), '..'))
PROTOS_DIR = os.path.join(ROOT_DIR, 'googleapis-pb')

PROTOS_DIR = os.path.join(PROJECT_ROOT, 'googleapis-pb')
PROTO_PATH = os.path.join(PROTOS_DIR, 'google', 'datastore',
'v1', 'datastore.proto')
GRPC_ONLY_FILE = os.path.join(ROOT_DIR, 'datastore',
GRPC_ONLY_FILE = os.path.join(PROJECT_ROOT, 'datastore',
'google', 'cloud', 'datastore',
'_generated', 'datastore_grpc_pb2.py')
GRPCIO_VIRTUALENV = os.getenv('GRPCIO_VIRTUALENV')
Expand Down
3 changes: 2 additions & 1 deletion 3 scripts/run_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import sys

from script_utils import get_affected_files
from script_utils import PROJECT_ROOT


IGNORED_DIRECTORIES = [
Expand All @@ -44,7 +45,7 @@
os.path.join('google', 'cloud', '__init__.py'),
'setup.py',
]
SCRIPTS_DIR = os.path.abspath(os.path.dirname(__file__))
SCRIPTS_DIR = os.path.join(PROJECT_ROOT, 'scripts')
PRODUCTION_RC = os.path.join(SCRIPTS_DIR, 'pylintrc_default')
TEST_RC = os.path.join(SCRIPTS_DIR, 'pylintrc_reduced')
TEST_DISABLED_MESSAGES = [
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.