[gnome-keysign: 20/65] Add PyBluez to README and setup



commit d6dccbfdb268ad5f454458250dc8a99149b031bd
Author: RyuzakiKK <aasonykk gmail com>
Date:   Thu Aug 17 21:13:42 2017 +0200

    Add PyBluez to README and setup

 README.rst | 12 +++++++++---
 setup.py   |  3 +++
 2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/README.rst b/README.rst
index 797699b..1e650b5 100644
--- a/README.rst
+++ b/README.rst
@@ -39,10 +39,11 @@ The list of dependencies includes:
     * GStreamer with the good and bad plugins
     * GTK and Cairo
     * gobject introspection for those libraries
+    * PyBluez (optional)
 
 
 openSUSE installation
-----------------------
+---------------------
 
 openSUSE has `packaged the application <https://build.opensuse.org/package/show/GNOME:Apps/gnome-keysign>`_
 so it should be easy for you to install it.
@@ -50,7 +51,7 @@ so it should be easy for you to install it.
 
 
 Debian and Ubuntu dependencies
----------------------------------
+------------------------------
 
 This list of packages seems to make it work:
 
@@ -62,7 +63,7 @@ gstreamer1.0-plugins-good provides the autovideosrc element.
 
 These packages should be optional:
 
-    python-requests monkeysign python-qrcode
+    python-requests monkeysign python-qrcode python-bluez
 
 
 Fedora dependencies
@@ -75,6 +76,11 @@ assuming that pip and git are already installed:
 
     sudo dnf install -y python-gobject python-avahi dbus-python gstreamer1-plugins-bad-free-gtk 
gstreamer1-plugins-good  gnupg
 
+As optional:
+
+.. code::
+
+    sudo dnf install -y pybluez
 
 
 Installation with pip
diff --git a/setup.py b/setup.py
index a89415c..06c4ece 100644
--- a/setup.py
+++ b/setup.py
@@ -116,6 +116,9 @@ setup(
         # avahi # Also no entry in the cheeseshop
         # dbus # dbus-python is in the cheeseshop but not pip-able
         ],
+    extras_require={
+        'bluetooth': ['pybluez>=0.22'],
+    },
     setup_requires=[
         "babel",
     ],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]