From 6e0cd069dfb6f2b72931078b566d07d8b37db0d6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 13 Dec 2017 15:37:55 +0300 Subject: [PATCH] Docs: Install from PyPI [skip ci] --- docs/Makefile | 2 +- docs/install.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index cab7304..df073e0 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -16,5 +16,5 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile conf.py +%: conf.py @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/install.rst b/docs/install.rst index 3631c26..3b4baa3 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -6,14 +6,14 @@ System-wide :: - sudo pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' ppu + sudo pip install --install-option='-O2' ppu User mode --------- :: - pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' --user ppu + pip install --user --install-option='-O2' ppu Installation from sources ========================= @@ -30,7 +30,7 @@ home directory; run run the following command: :: - python setup.py install -O2 --user + python setup.py install --user -O2 Option '--user' installs scripts into $HOME/.local/bin; add the directory to your $PATH or move the script to a directory in your -- 2.39.5