summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2017-05-26 13:29:22 +0200
committerjaseg <code@jaseg.net>2017-05-26 13:29:22 +0200
commit8608c43854c94a75db054da1eabd3837b045b31c (patch)
tree62f89bd4cfae8a80944eb2658321312e8ed4fde1 /README.rst
parent87c007cc4d2ead1b7515260706572185751935f6 (diff)
downloadpython-mpv-8608c43854c94a75db054da1eabd3837b045b31c.tar.gz
python-mpv-8608c43854c94a75db054da1eabd3837b045b31c.tar.bz2
python-mpv-8608c43854c94a75db054da1eabd3837b045b31c.zip
README: add pypi installation instructions
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst10
1 files 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