Skip to content

Commit 95b89d5

Browse files
committed
Docs: fixup release verification
1 parent 1d80ced commit 95b89d5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/development.rst

+9-8
Original file line numberDiff line numberDiff line change
@@ -331,23 +331,24 @@ To be as concrete as possible, we will assume that we are about to release versi
331331
or announce it in the `openEO Platform Forum <https://discuss.eodc.eu/c/openeo-platform/clients/18>`_.
332332

333333
Verification
334-
~~~~~~~~~~~~
334+
"""""""""""""
335335

336336
The new release should now be available/listed at:
337337

338338
- `https://pypi.org/project/openeo/#history <https://pypi.org/project/openeo/#history>`_
339339
- `https://github.com/Open-EO/openeo-python-client/releases <https://github.com/Open-EO/openeo-python-client/releases>`_
340340

341-
Here is a bash oneliner to verify that the PyPI release works properly::
341+
Here is a bash (subshell) oneliner to verify that the PyPI release works properly::
342342

343-
(cd /tmp &&\
344-
python -m venv tmp-venv-openeo &&\
345-
. tmp-venv-openeo/bin/activate &&\
346-
pip install openeo==0.4.7 &&\
347-
python -c "import openeo;print(openeo);print(openeo.__version__)"\
343+
(
344+
cd /tmp &&\
345+
python -m venv venv-openeo &&\
346+
source venv-openeo/bin/activate &&\
347+
pip install -U openeo &&\
348+
python -c "import openeo;print(openeo);print(openeo.__version__)"
348349
)
349350

350-
It tries to install the package in a temporary virtual env,
351+
It tries to install the latest version of the ``openeo`` package in a temporary virtual env,
351352
import it and print the package version.
352353

353354

0 commit comments

Comments
 (0)