From 482ad1cc8368cf487ac36adcca1ebf48a9659fea Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 14 Aug 2023 13:10:23 -0400 Subject: [PATCH] Add `prompt-toolkit` for full `xonsh` feats --- poetry.lock | 31 ++++++++++++++++++++++++++++--- pyproject.toml | 3 ++- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 93e62016..36d145df 100644 --- a/poetry.lock +++ b/poetry.lock @@ -50,9 +50,9 @@ files = [ [[package]] name = "asyncvnc" version = "1.1.0" -description = "" +description = "Asynchronous VNC for Python" optional = false -python-versions = ">= 3.7" +python-versions = ">=3.7" files = [] develop = false @@ -853,6 +853,20 @@ timezone = ["backports.zoneinfo", "tzdata"] xlsx2csv = ["xlsx2csv (>=0.8.0)"] xlsxwriter = ["xlsxwriter"] +[[package]] +name = "prompt-toolkit" +version = "3.0.39" +description = "Library for building powerful interactive command lines in Python" +optional = false +python-versions = ">=3.7.0" +files = [ + {file = "prompt_toolkit-3.0.39-py3-none-any.whl", hash = "sha256:9dffbe1d8acf91e3de75f3b544e4842382fc06c6babe903ac9acb74dc6e08d88"}, + {file = "prompt_toolkit-3.0.39.tar.gz", hash = "sha256:04505ade687dc26dc4284b1ad19a83be2f2afe83e7a828ace0c72f3a1df72aac"}, +] + +[package.dependencies] +wcwidth = "*" + [[package]] name = "pycparser" version = "2.21" @@ -1391,6 +1405,17 @@ files = [ {file = "typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"}, ] +[[package]] +name = "wcwidth" +version = "0.2.6" +description = "Measures the displayed width of unicode strings in a terminal" +optional = false +python-versions = "*" +files = [ + {file = "wcwidth-0.2.6-py2.py3-none-any.whl", hash = "sha256:795b138f6875577cd91bba52baf9e445cd5118fd32723b460e30a0af30ea230e"}, + {file = "wcwidth-0.2.6.tar.gz", hash = "sha256:a5220780a404dbe3353789870978e472cfe477761f06ee55077256e509b156d0"}, +] + [[package]] name = "wrapt" version = "1.15.0" @@ -1518,4 +1543,4 @@ test = ["coverage (>=5.3.1)", "prompt-toolkit (>=3.0.29)", "pygments (>=2.2)", " [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "163fcb92fc2eefcb9b0f3ec23312a1f2b3f3de0956fad29e0194b827fc6a749c" +content-hash = "630019c04adab7c83ca2f017d870a61e4e90b6e5fd805814544267b50576d8f4" diff --git a/pyproject.toml b/pyproject.toml index 7fd0f2a8..7250833a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.1.0.alpha0.dev0" description = "trading gear for hackers" authors = ["Tyler Goodlet "] license = "AGPLv3" -readme = "README.md" +readme = "README.rst" [tool.poetry.dependencies] @@ -41,6 +41,7 @@ tractor = { path = '../tractor/', develop = true } pyqtgraph = { git = 'https://github.com/pikers/pyqtgraph.git' } asyncvnc = { git = 'https://github.com/pikers/asyncvnc.git', branch = 'main' } tomlkit = { git = 'https://github.com/pikers/tomlkit.git', branch = 'piker_pin' } +prompt-toolkit = "^3.0.39" [build-system]