Skip to content

Commit 04aa95b

Browse files
committed
Get ready for release 3.0.0
1 parent 4266a93 commit 04aa95b

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

NEWS.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
3.0.0
2+
-----
3+
4+
The primary readline interface has been redone using the excellent [prompt-toolkit](https://pypi.org/project/prompt-toolkit/).
5+
This is pure Python code so it should be available everywhere.
6+
We still include GNU-Readline for those situations where prompt-toolkit doesn't work. Select the readline style now with the
7+
`--choice` option which can be one of `GNU`, `Prompt`, or `None`.
8+
9+
Prompt toolkit allows us to color input as it is getting typed. It also has nicer completion facilites, and sports a bottom modeline status bar.
10+
11+
There is still a bit of cleanup work to do to support GNU readline inputrc files better, or to handle completion better, but this will come later.
12+
13+
Independent of prompt-toolkit, there better pygments colorization using [mathics-pygments](https://pypi.org/project/prompt-toolkit/). Expect
14+
that to improve over time too.
15+
16+
17+
18+
119
2.2.0
220
-----
321

admin-tools/pyenv-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55
echo "This script should be *sourced* rather than run directly through bash"
66
exit 1
77
fi
8-
export PYVERSIONS='3.6.13 3.7.10 3.8.10 3.9.5'
8+
export PYVERSIONS='3.6.13 3.7.10 pyston-2.2 3.8.10 3.9.5'

mathicsscript/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# This file is suitable for sourcing inside POSIX shell as
44
# well as importing into Python. That's why there is no
55
# space around "=" below.
6-
__version__="3.0.0.dev0" # noqa
6+
__version__="3.0.0" # noqa

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def read(*rnames):
7171
"prompt_toolkit",
7272
"pygments",
7373
# "mathics_pygments @ https://github.com/Mathics3/mathics-pygments/archive/master.zip#egg=mathics_pygments",
74-
"mathics_pygments>=1.0.0",
74+
"mathics_pygments>=1.0.2",
7575
"term-background >= 1.0.1",
7676
],
7777
entry_points={"console_scripts": ["mathicsscript = mathicsscript.__main__:main"]},

0 commit comments

Comments
 (0)