Skip to content
Merged
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
2 changes: 1 addition & 1 deletion packages/google-cloud-deploy/.flake8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-deploy/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ We support:

Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/google-cloud-python/blob/main/noxfile.py
.. _config: https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-deploy/noxfile.py


**********
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-deploy/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
27 changes: 14 additions & 13 deletions packages/google-cloud-deploy/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,24 @@ In order to use this library, you first need to go through the following steps:
Installation
~~~~~~~~~~~~

Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
create isolated Python environments. The basic problem it addresses is one of
dependencies and versions, and indirectly permissions.
Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
creates isolated Python environments. These isolated environments can have separate
versions of Python packages, which allows you to isolate one project's dependencies
from the dependencies of other projects.

With `virtualenv`_, it's possible to install this library without needing system
With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.

.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
.. _`venv`: https://docs.python.org/3/library/venv.html


Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~

Code samples and snippets live in the `samples/` folder.
Code samples and snippets live in the `samples/`_ folder.

.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-deploy/samples


Supported Python Versions
Expand All @@ -77,21 +80,19 @@ Mac/Linux

.. code-block:: console

pip install virtualenv
virtualenv <your-env>
python3 -m venv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-deploy
pip install google-cloud-deploy


Windows
^^^^^^^

.. code-block:: console

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-deploy
py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-deploy

Next Steps
~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-deploy/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2021 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
12 changes: 12 additions & 0 deletions packages/google-cloud-deploy/google/cloud/deploy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
Phase,
PipelineCondition,
PipelineReadyCondition,
Postdeploy,
PostdeployJob,
PostdeployJobRun,
Predeploy,
PredeployJob,
PredeployJobRun,
PrivatePool,
Release,
RenderMetadata,
Expand Down Expand Up @@ -200,6 +206,12 @@
"Phase",
"PipelineCondition",
"PipelineReadyCondition",
"Postdeploy",
"PostdeployJob",
"PostdeployJobRun",
"Predeploy",
"PredeployJob",
"PredeployJobRun",
"PrivatePool",
"Release",
"RenderMetadata",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.11.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
12 changes: 12 additions & 0 deletions packages/google-cloud-deploy/google/cloud/deploy_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@
Phase,
PipelineCondition,
PipelineReadyCondition,
Postdeploy,
PostdeployJob,
PostdeployJobRun,
Predeploy,
PredeployJob,
PredeployJobRun,
PrivatePool,
Release,
RenderMetadata,
Expand Down Expand Up @@ -191,6 +197,12 @@
"Phase",
"PipelineCondition",
"PipelineReadyCondition",
"Postdeploy",
"PostdeployJob",
"PostdeployJobRun",
"Predeploy",
"PredeployJob",
"PredeployJobRun",
"PrivatePool",
"Release",
"ReleaseNotificationEvent",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.11.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
Phase,
PipelineCondition,
PipelineReadyCondition,
Postdeploy,
PostdeployJob,
PostdeployJobRun,
Predeploy,
PredeployJob,
PredeployJobRun,
PrivatePool,
Release,
RenderMetadata,
Expand Down Expand Up @@ -178,6 +184,12 @@
"Phase",
"PipelineCondition",
"PipelineReadyCondition",
"Postdeploy",
"PostdeployJob",
"PostdeployJobRun",
"Predeploy",
"PredeployJob",
"PredeployJobRun",
"PrivatePool",
"Release",
"RenderMetadata",
Expand Down
Loading