mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +02:00
Make installation docs mention powerline-status first, reword them
This commit is contained in:
parent
4b4964013b
commit
21e6e5ba5d
@ -40,28 +40,35 @@ Generic requirements
|
|||||||
Pip installation
|
Pip installation
|
||||||
================
|
================
|
||||||
|
|
||||||
This project is currently unavailable from PyPI due to a naming conflict with an
|
Due to a naming conflict with an unrelated project powerline is available on
|
||||||
unrelated project, thus you will have to use the following command to install
|
PyPI under the ``powerline-status`` name:
|
||||||
powerline with ``pip``:
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
pip install powerline-status
|
||||||
|
|
||||||
|
is the preferred method because this will get you the latest release. To get
|
||||||
|
current development version
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
pip install --user git+git://github.com/powerline/powerline
|
pip install --user git+git://github.com/powerline/powerline
|
||||||
|
|
||||||
. You may also choose to clone powerline repository somewhere and use
|
may be used. If powerline was already checked out into some directory
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
pip install --user --editable={path_to_powerline}
|
pip install --user --editable={path_to_powerline}
|
||||||
|
|
||||||
, but note that in this case ``pip`` will not install ``powerline`` executable
|
is useful, but note that in this case ``pip`` will not install ``powerline``
|
||||||
and you will have to do something like
|
executable and something like
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
ln -s {path_to_powerline}/scripts/powerline ~/.local/bin
|
ln -s {path_to_powerline}/scripts/powerline ~/.local/bin
|
||||||
|
|
||||||
(:file:`~/.local/bin` should be replaced with some path present in ``$PATH``).
|
will have to be done (:file:`~/.local/bin` should be replaced with some path
|
||||||
|
present in ``$PATH``).
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If your ISP blocks git protocol for some reason github also provides ``ssh``
|
If your ISP blocks git protocol for some reason github also provides ``ssh``
|
||||||
@ -69,12 +76,6 @@ and you will have to do something like
|
|||||||
(``git+https://github.com/powerline/powerline``) protocols. ``git`` protocol
|
(``git+https://github.com/powerline/powerline``) protocols. ``git`` protocol
|
||||||
should be the fastest, but least secure one though.
|
should be the fastest, but least secure one though.
|
||||||
|
|
||||||
To install release version uploaded to PyPI use
|
|
||||||
|
|
||||||
.. code-block:: sh
|
|
||||||
|
|
||||||
pip install powerline-status
|
|
||||||
|
|
||||||
Fonts installation
|
Fonts installation
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user