diff --git a/README.rst b/README.rst index c79b109..ce41c4f 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,7 @@ -sunix-ledstrip-controller-client +.. |pypi_version| image:: https://badge.fury.io/py/sunix-ledstrip-controller-client.svg + :target: https://badge.fury.io/py/sunix-ledstrip-controller-client + +sunix-ledstrip-controller-client |pypi_version| ================================ A python 3.4+ library for controlling the Sunix® RGB / RGBWWCW WiFi LED Strip controller. diff --git a/docs/conf.py b/docs/conf.py index ae40f1b..3482a5d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,6 +19,9 @@ # import os import sys + +from setup import VERSION_NUMBER, VERSION_NAME + sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('../')) @@ -60,9 +63,9 @@ # built documents. # # The short X.Y version. -version = '1.2.0' +version = VERSION_NUMBER # The full version, including alpha/beta/rc tags. -release = '1.2.0' +release = VERSION_NAME # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 1839fb7..4d9f2c9 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -VERSION_NUMBER = "1.2.1" +VERSION_NUMBER = "1.2.2" GIT_BRANCH = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"]) GIT_BRANCH = GIT_BRANCH.decode() # convert to standard string @@ -35,6 +35,10 @@ DEVELOPMENT_STATUS, 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7' ], install_requires=[ 'construct',