Skip to content

Commit f6bf20d

Browse files
committed
Use pip to install from sources
The `setup.py install` command is deprecated since setuptools 58.3.0: https://setuptools.pypa.io/en/latest/history.html#v58-3-0. Change-Id: I29771a23d3040593d68d5548e326985f0bb176a3 Signed-off-by: François Magimel <magimel.francois@gmail.com>
1 parent 13c0dcf commit f6bf20d

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎doc/source/admin/install/install-source.rst‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
Install from source
22
===================
33

4+
.. note::
5+
6+
In the commands below, substitute "<release>" for your version of choice,
7+
such as "queens" or "rocky".
8+
9+
If you use the development version, replace "stable/<release>" with "master".
10+
411
Install the services
512
--------------------
613

714
Retrieve and install cloudkitty::
815

916
git clone https://opendev.org/openstack/cloudkitty.git
1017
cd cloudkitty
11-
python setup.py install
18+
pip install -c https://opendev.org/openstack/requirements/raw/branch/stable/<release>/upper-constraints.txt .
1219

1320
This procedure installs the ``cloudkitty`` python library and the
1421
following executables:
@@ -37,7 +44,7 @@ Retrieve and install cloudkitty client::
3744

3845
git clone https://opendev.org/openstack/python-cloudkittyclient.git
3946
cd python-cloudkittyclient
40-
python setup.py install
47+
pip install -c https://opendev.org/openstack/requirements/raw/branch/stable/<release>/upper-constraints.txt .
4148

4249
Install the dashboard module
4350
----------------------------
@@ -46,7 +53,7 @@ Install the dashboard module
4653

4754
git clone https://opendev.org/openstack/cloudkitty-dashboard.git
4855
cd cloudkitty-dashboard
49-
python setup.py install
56+
pip install -c https://opendev.org/openstack/requirements/raw/branch/stable/<release>/upper-constraints.txt .
5057

5158
#. Find where the python packages are installed::
5259

0 commit comments

Comments
 (0)