prompt_toolkit: Interactive command lines for Python#
Description#
Library for building powerful interactive command lines in Python
Type#
standard
Dependencies#
wcwidth: Measures the displayed width of unicode strings in a terminal
$(PYTHON_TOOLCHAIN)
$(PYTHON)
Version Information#
package-version.txt:
3.0.24
install-requires.txt:
# :issue:`33428` - prompt_toolkit 3.0.25+ breaks Ctrl-C
prompt_toolkit >=3.0.5, <3.0.25
Equivalent System Packages#
arch:
$ sudo pacman -S python-importlib_resources
conda:
$ conda install prompt_toolkit>=3.0.5,<3.0.25
Debian/Ubuntu:
$ sudo apt-get install importlib-resources
Fedora/Redhat/CentOS:
$ sudo yum install python-prompt-toolkit
freebsd:
$ sudo pkg install devel/py-importlib-resources
gentoo:
$ sudo emerge dev-python/prompt_toolkit
macports: install the following packages: py-prompt_toolkit
opensuse:
$ sudo zypper install python3${PYTHON_MINOR}-importlib_resources
void:
$ sudo xbps-install python3-prompt_toolkit
See https://repology.org/project/python:prompt-toolkit/versions
If the system package is installed and if the (experimental) option –enable-system-site-packages is passed to ./configure, then ./configure will check if the system package can be used.