From 5df599be150f4159704dfc4e00e1939a56578def Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Wed, 5 Jul 2017 13:16:12 -0400 Subject: [PATCH 1/2] Upgrade to pylint==1.7.2 Also added PyPi badge to readme --- README.rst | 20 ++++++++++++++++---- requirements_test.txt | 4 ++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index d3eb6f5..d6c54d2 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -blinkpy |Build Status| |Coverage Status| +blinkpy |Build Status| |Coverage Status| |PyPi Version| ============================================= A Python library for the Blink Camera system @@ -13,9 +13,19 @@ Original protocol hacking by MattTW : https://github.com/MattTW/BlinkMonitorProt API calls faster than 60 seconds is not recommended as it can overwhelm Blink's servers. Please use this module responsibly. -Installation -================ -``pip3 install blinkpy`` +Installing Development Version +================================== +To install the current development version, perform the following steps. Note that the following will create a blinkpy directory in your home area: + +.. code:: bash + + $ cd ~ + $ git clone https://github.com/fronzbot/blinkpy.git + $ cd blinkpy + $ rm -rf build dist + $ python setup.py bdist_wheel + $ pip3 install --upgrade dist/*.whl + Purpose =========== @@ -122,3 +132,5 @@ The ``BlinkURLHandler`` class expects to be initialized with the region id found :target: https://travis-ci.org/fronzbot/blinkpy .. |Coverage Status| image:: https://coveralls.io/repos/github/fronzbot/blinkpy/badge.svg?branch=master :target: https://coveralls.io/github/fronzbot/blinkpy?branch=master +.. |PyPi Version| image:: https://badge.fury.io/py/blinkpy.svg + :target: https://badge.fury.io/py/blinkpy \ No newline at end of file diff --git a/requirements_test.txt b/requirements_test.txt index 1f8e313..06fff4d 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,10 +1,10 @@ flake8==3.3 flake8-docstrings==1.1.0 -pylint==1.7.1 +pylint==1.7.2 pydocstyle==2.0.0 pytest>=2.9.2 pytest-cov>=2.3.1 pytest-sugar>=0.8.0 pytest-timeout>=1.0.0 restructuredtext-lint>=1.0.1 -pygments>=2.2.0 \ No newline at end of file +pygments>=2.2.0 From 150016f5433cdc1e735d0a250b58f41f9617f9d5 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Wed, 5 Jul 2017 13:24:22 -0400 Subject: [PATCH 2/2] Fixed underline too short --- README.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index d6c54d2..2a3eb5a 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ blinkpy |Build Status| |Coverage Status| |PyPi Version| -============================================= +=========================================================== A Python library for the Blink Camera system Disclaimer: @@ -23,7 +23,7 @@ To install the current development version, perform the following steps. Note t $ git clone https://github.com/fronzbot/blinkpy.git $ cd blinkpy $ rm -rf build dist - $ python setup.py bdist_wheel + $ python3 setup.py bdist_wheel $ pip3 install --upgrade dist/*.whl @@ -132,5 +132,6 @@ The ``BlinkURLHandler`` class expects to be initialized with the region id found :target: https://travis-ci.org/fronzbot/blinkpy .. |Coverage Status| image:: https://coveralls.io/repos/github/fronzbot/blinkpy/badge.svg?branch=master :target: https://coveralls.io/github/fronzbot/blinkpy?branch=master -.. |PyPi Version| image:: https://badge.fury.io/py/blinkpy.svg - :target: https://badge.fury.io/py/blinkpy \ No newline at end of file +.. |PyPi Version| image:: https://img.shields.io/pypi/v/blinkpy.svg + :target: https://pypi.python.org/pypi/blinkpy + \ No newline at end of file