Skip to content

Commit 71e5d4b

Browse files
authored
Begin deprecation process for google-cloud umbrella package (googleapis#5321)
* Begin deprecation process for google-cloud umbrella package
1 parent 53ef8a2 commit 71e5d4b

5 files changed

Lines changed: 53 additions & 17 deletions

File tree

README.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,6 @@ If you need support for other Google APIs, check out the
121121

122122
.. _Google APIs Python Client library: https://github.com/google/google-api-python-client
123123

124-
Quick Start
125-
-----------
126-
127-
.. code-block:: console
128-
129-
$ pip install --upgrade google-cloud
130-
131-
For more information on setting up your Python development environment,
132-
such as installing ``pip`` and ``virtualenv`` on your system, please refer
133-
to `Python Development Environment Setup Guide`_ for Google Cloud Platform.
134-
135-
.. _Python Development Environment Setup Guide: https://cloud.google.com/python/setup
136124

137125
Example Applications
138126
--------------------
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Google Cloud Python Client
2+
==========================
3+
4+
Python idiomatic client for `Google Cloud Platform`_ services.
5+
6+
WARNING: The google-cloud Python package is deprecated. On June 18, 2018,
7+
this package will no longer install any other packages. Please install the
8+
`product-specific google-cloud-* packages`__ needed for your application.
9+
10+
.. __: https://github.com/GoogleCloudPlatform/google-cloud-python#google-cloud-python-client
11+
12+
.. _Google Cloud Platform: https://cloud.google.com/
13+
14+
|pypi| |circleci| |appveyor| |coverage| |versions|
15+
16+
- `Homepage`_
17+
- `API Documentation`_
18+
- `Read The Docs Documentation`_
19+
20+
.. _Homepage: https://googlecloudplatform.github.io/google-cloud-python/
21+
.. _API Documentation: https://googlecloudplatform.github.io/google-cloud-python/latest/
22+
.. _Read The Docs Documentation: https://google-cloud-python.readthedocs.io/en/latest/
23+
24+
License
25+
-------
26+
27+
Apache 2.0 - See `the LICENSE`_ for more information.
28+
29+
.. _the LICENSE: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/LICENSE
30+
31+
.. |circleci| image:: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python.svg?style=shield
32+
:target: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python
33+
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/googlecloudplatform/google-cloud-python?branch=master&svg=true
34+
:target: https://ci.appveyor.com/project/GoogleCloudPlatform/google-cloud-python
35+
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-python/badge.svg?branch=master
36+
:target: https://coveralls.io/r/GoogleCloudPlatform/google-cloud-python?branch=master
37+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud.svg
38+
:target: https://pypi.org/project/google-cloud/
39+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud.svg
40+
:target: https://pypi.org/project/google-cloud/
File renamed without changes.

setup.py renamed to legacy/google-cloud/setup.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
# limitations under the License.
1414

1515
import os
16+
import logging
1617

1718
from setuptools import setup
1819

19-
2020
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
2121

22-
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
22+
with open(os.path.join(PACKAGE_ROOT, 'setup-README.rst')) as file_obj:
2323
README = file_obj.read()
2424

2525
# NOTE: This is duplicated throughout and we should try to
@@ -34,7 +34,7 @@
3434
'include_package_data': True,
3535
'zip_safe': False,
3636
'classifiers': [
37-
'Development Status :: 4 - Beta',
37+
'Development Status :: 7 - Inactive',
3838
'Intended Audience :: Developers',
3939
'License :: OSI Approved :: Apache Software License',
4040
'Operating System :: OS Independent',
@@ -76,9 +76,17 @@
7676

7777
setup(
7878
name='google-cloud',
79-
version='0.32.1.dev1',
79+
version='0.33.0',
8080
description='API Client library for Google Cloud',
8181
long_description=README,
8282
install_requires=REQUIREMENTS,
8383
**SETUP_BASE
8484
)
85+
86+
warning = "WARNING: The google-cloud Python package is deprecated. On " \
87+
"June 18, 2018, this package will no longer install any other " \
88+
"packages. Please install the product-specific google-cloud-* " \
89+
"packages needed for your application. See " \
90+
"https://github.com/GoogleCloudPlatform/google-cloud-python."
91+
92+
logging.warn(warning)

nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ def lint_setup_py(session):
4646

4747
session.install('docutils', 'Pygments')
4848
session.run(
49-
'python', 'setup.py', 'check', '--restructuredtext', '--strict')
49+
'python', 'legacy/google-cloud/setup.py', 'check', '--restructuredtext', '--strict')

0 commit comments

Comments
 (0)