Skip to content

Commit 485a0ec

Browse files
authored
chore: update getting-started doc (#1295)
* chore: update getting-started doc * formatting
1 parent d9fa5c6 commit 485a0ec

1 file changed

Lines changed: 12 additions & 20 deletions

File tree

  • packages/gapic-generator/docs/getting-started

packages/gapic-generator/docs/getting-started/local.rst

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,20 @@ the usual ways. It fundamentally provides a CLI command,
7575
``snake_case`` is weird, sorry), so you will want to install using a mechanism
7676
that is conducive to making CLI commands available.
7777

78-
Additionally, this program currently only runs against Python 3.6 or
79-
Python 3.7, so you will need that installed. (Most Linux distributions ship
80-
with earlier versions.) Use `pyenv`_ to get Python 3.7 installed in a
81-
friendly way.
82-
8378
.. code-block:: shell
8479
85-
# Due to its experimental state, this tool is not published to a
86-
# package manager; you should clone it.
87-
# (You can pip install it from GitHub, not not if you want to tinker.)
88-
git clone https://github.com/googleapis/gapic-generator-python.git
89-
cd gapic-generator-python/
90-
91-
# Install a version of python that is supported by the microgenerator.
92-
# We use 3.8.6 as an example.
93-
# You may need to install additional packages in order to
94-
# build python from source.
95-
# Setting a 'global' python is convenient for development but may interfere
96-
# with other system activities. Adjust as your environment requires.
97-
pyenv install 3.8.6 && pyenv global 3.8.6
98-
99-
# Install the tool. This will handle the virtualenv for you, and
80+
# Install this package using
81+
pip install gapic-generator
82+
83+
# Install a version of python that is supported by the microgenerator.
84+
# We use 3.9.12 as an example.
85+
# You may need to install additional packages in order to
86+
# build python from source.
87+
# Setting a 'global' python is convenient for development but may interfere
88+
# with other system activities. Adjust as your environment requires.
89+
pyenv install 3.9.12 && pyenv global 3.9.12
90+
91+
# Install the tool. This will handle the virtualenv for you, and
10092
# make an appropriately-aliased executable.
10193
# The `--editable` flag is only necessary if you want to work on the
10294
# tool (as opposed to just use it).

0 commit comments

Comments
 (0)