Merge branch 'update-documentation' into develop

This commit is contained in:
ZyX 2015-01-07 15:21:33 +03:00
commit fbd529d4ec
3 changed files with 45 additions and 24 deletions

View File

@ -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
================== ==================

View File

@ -19,10 +19,20 @@ follow the installation guide below:
1. Install Python 3.2+ or Python 2.6+ with ``pip``. This step is 1. Install Python 3.2+ or Python 2.6+ with ``pip``. This step is
distribution-specific, so no commands provided. distribution-specific, so no commands provided.
2. Install Powerline using the following command:: 2. Install Powerline using one of the following commands:
.. code-block:: sh
pip install --user powerline-status
will get the latest release version and
.. code-block:: sh
pip install --user git+git://github.com/powerline/powerline pip install --user git+git://github.com/powerline/powerline
will get the latest development version.
.. note:: Due to the naming conflict with an unrelated project powerline is .. note:: Due to the naming conflict with an unrelated project powerline is
named ``powerline-status`` in PyPI. named ``powerline-status`` in PyPI.

View File

@ -22,10 +22,20 @@ Python package
should also install GNU env named ``genv``. This may be achieved by should also install GNU env named ``genv``. This may be achieved by
running ``brew install coreutils``. running ``brew install coreutils``.
2. Install Powerline using the following command:: 2. Install Powerline using one of the following commans:
.. code-block:: sh
pip install --user powerline-status
will get current release version and
.. code-block:: sh
pip install --user git+git://github.com/powerline/powerline pip install --user git+git://github.com/powerline/powerline
will get latest development version.
.. warning:: .. warning::
When using ``brew install`` to install Python one must not supply When using ``brew install`` to install Python one must not supply
``--user`` flag to ``pip``. ``--user`` flag to ``pip``.
@ -37,8 +47,8 @@ Python package
.. note:: .. note::
If you are powerline developer you should be aware that ``pip install If you are powerline developer you should be aware that ``pip install
--editable`` does not currently fully work. If you install powerline this --editable`` does not currently fully work. If you install powerline this
way you will be missing ``powerline`` executable and need to symlink it. It way you will be missing ``powerline`` executable and need to symlink it.
will be located in ``scripts/powerline``. It will be located in ``scripts/powerline``.
Vim installation Vim installation
================ ================