From 8608c43854c94a75db054da1eabd3837b045b31c Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 26 May 2017 13:29:22 +0200 Subject: README: add pypi installation instructions --- README.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 71a1a1f..e7c191d 100644 --- a/README.rst +++ b/README.rst @@ -9,12 +9,13 @@ features of the player, just as the lua interface does. Installation ------------ -.. code:: bash +Via PyPI +~~~~~~~~ - wget -O mpv.py https://raw.githubusercontent.com/jaseg/python-mpv/master/mpv.py +.. code:: bash + pip install python-mpv -Seriously though, part of the idea of this being all in one handy file is that you can just copy it into your project. -That also means you don't need to be afraid of customizing it, as it's really not a lot of code. + ...though you can also realistically just copy `mpv.py`_ into your project as it's all nicely contained in one file. Usage ----- @@ -101,3 +102,4 @@ No tabs. Probably don't bother making pure-formatting PRs except if you think it *really* irks you if you don't. .. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/ +.. _`mpv.py`: https://raw.githubusercontent.com/jaseg/python-mpv/master/mpv.py -- cgit