[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 12/13] python/aqmp-tui: Add pyperclip dependency
From: |
G S Niteesh Babu |
Subject: |
[PATCH v3 12/13] python/aqmp-tui: Add pyperclip dependency |
Date: |
Sat, 31 Jul 2021 01:48:45 +0530 |
This dependency is required to enable copying from the TUI
using special keys to the system clipboard.
pyperclip works out of the box on windows and macos but requires
xsel/xclip to be installed on linux machines.
Signed-off-by: G S Niteesh Babu <niteesh.gs@gmail.com>
---
python/Pipfile.lock | 22 ++++++++++++++++++++++
python/setup.cfg | 5 +++++
2 files changed, 27 insertions(+)
diff --git a/python/Pipfile.lock b/python/Pipfile.lock
index 2c6d779348..3544c8703d 100644
--- a/python/Pipfile.lock
+++ b/python/Pipfile.lock
@@ -45,6 +45,14 @@
"index": "pypi",
"version": "==87.0"
},
+ "backports.entry-points-selectable": {
+ "hashes": [
+
"sha256:988468260ec1c196dab6ae1149260e2f5472c9110334e5d51adcb77867361f6a",
+
"sha256:a6d9a871cde5e15b4c4a53e3d43ba890cc6861ec1332c9c2428c92f977192acc"
+ ],
+ "markers": "python_version >= '2.7'",
+ "version": "==1.1.0"
+ },
"distlib": {
"hashes": [
"sha256:106fef6dc37dd8c0e2c0a60d3fca3e77460a48907f335fa28420463a6f799736",
@@ -169,6 +177,14 @@
"markers": "python_version >= '2.7' and python_version not in
'3.0, 3.1, 3.2, 3.3'",
"version": "==20.9"
},
+ "platformdirs": {
+ "hashes": [
+
"sha256:4666d822218db6a262bdfdc9c39d21f23b4cfdb08af331a81e92751daf6c866c",
+
"sha256:632daad3ab546bd8e6af0537d09805cec458dce201bccfe23012df73332e181e"
+ ],
+ "markers": "python_version >= '3.6'",
+ "version": "==2.2.0"
+ },
"pluggy": {
"hashes": [
"sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0",
@@ -224,6 +240,12 @@
"markers": "python_version >= '2.6' and python_version not in
'3.0, 3.1, 3.2, 3.3'",
"version": "==2.4.7"
},
+ "pyperclip": {
+ "hashes": [
+
"sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57"
+ ],
+ "version": "==1.8.2"
+ },
"qemu": {
"editable": true,
"path": "."
diff --git a/python/setup.cfg b/python/setup.cfg
index bbb7306c3d..683c0b1d00 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -47,6 +47,7 @@ devel =
urwid >= 2.1.2
urwid-readline >= 0.13
Pygments >= 2.9.0
+ pyperclip >= 1.8.2
# Provides qom-fuse functionality
fuse =
@@ -57,6 +58,7 @@ tui =
urwid >= 2.1.2
urwid-readline >= 0.13
Pygments >= 2.9.0
+ pyperclip >= 1.8.2
[options.entry_points]
console_scripts =
@@ -102,6 +104,9 @@ ignore_missing_imports = True
[mypy-pygments]
ignore_missing_imports = True
+[mypy-pyperclip]
+ignore_missing_imports = True
+
[pylint.messages control]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
--
2.17.1
- [PATCH v3 02/13] python: disable pylint errors for aqmp-tui, (continued)
- [PATCH v3 02/13] python: disable pylint errors for aqmp-tui, G S Niteesh Babu, 2021/07/30
- [PATCH v3 03/13] python: Add dependencies for AQMP TUI, G S Niteesh Babu, 2021/07/30
- [PATCH v3 04/13] python/aqmp-tui: Add AQMP TUI draft, G S Niteesh Babu, 2021/07/30
- [PATCH v3 05/13] python: add entry point for aqmp-tui, G S Niteesh Babu, 2021/07/30
- [PATCH v3 06/13] python/aqmp-tui: Added type annotations for aqmp-tui, G S Niteesh Babu, 2021/07/30
- [PATCH v3 07/13] python: add optional pygments dependency, G S Niteesh Babu, 2021/07/30
- [PATCH v3 08/13] python/aqmp-tui: add syntax highlighting, G S Niteesh Babu, 2021/07/30
- [PATCH v3 09/13] python/aqmp-tui: Add QMP connection manager, G S Niteesh Babu, 2021/07/30
- [PATCH v3 10/13] python/aqmp-tui: Add scrolling to history box, G S Niteesh Babu, 2021/07/30
- [PATCH v3 11/13] python/aqmp-tui: Add ability to highlight messages, G S Niteesh Babu, 2021/07/30
- [PATCH v3 12/13] python/aqmp-tui: Add pyperclip dependency,
G S Niteesh Babu <=
- [PATCH v3 13/13] python/aqmp-tui: Allow copying message from TUI, G S Niteesh Babu, 2021/07/30