2017-12-21 13:17:42 +08:00
|
|
|
..
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
not use this file except in compliance with the License. You may obtain
|
|
|
|
a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
License for the specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
|
2018-03-08 23:03:28 +09:00
|
|
|
============
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
This document describes how to install python-tackerclient.
|
|
|
|
|
|
|
|
.. note::
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
This installation guide contents are specific to Ubuntu distro.
|
2018-03-08 23:03:28 +09:00
|
|
|
|
|
|
|
Using python install
|
|
|
|
====================
|
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
#. Clone python-tackerclient repository.
|
|
|
|
|
|
|
|
You can use -b for specific release, optionally.
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
.. code-block:: console
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
$ cd ~/
|
|
|
|
$ git clone https://opendev.org/openstack/python-tackerclient -b <branch_name>
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
.. note::
|
2017-12-21 13:17:42 +08:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
Make sure to replace the ``<branch_name>`` in command example with
|
|
|
|
specific branch name, such as ``stable/victoria``.
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
#. Install python-tackerclient.
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
$ cd python-tackerclient
|
|
|
|
$ sudo python3 setup.py install
|
2018-03-08 23:03:28 +09:00
|
|
|
|
|
|
|
Using pip
|
|
|
|
=========
|
|
|
|
|
|
|
|
You can also install the latest version by using ``pip`` command:
|
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
.. code-block:: console
|
2017-12-21 13:17:42 +08:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
$ pip3 install python-tackerclient
|
2018-03-08 23:03:28 +09:00
|
|
|
|
2017-12-21 13:17:42 +08:00
|
|
|
Or, if it is needed to install ``python-tackerclient`` from master branch,
|
2018-03-08 23:03:28 +09:00
|
|
|
type
|
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
.. code-block:: console
|
2017-12-21 13:17:42 +08:00
|
|
|
|
2021-02-08 15:48:44 +05:30
|
|
|
$ pip3 install git+https://opendev.org/openstack/python-tackerclient
|
2017-12-21 13:17:42 +08:00
|
|
|
|