Skip to content

Commit 72a70b2

Browse files
authored
Merge pull request #24 from Mathics3/rc1
Release candidate 1.2.0
2 parents 92ddecc + e8f6485 commit 72a70b2

File tree

13 files changed

+33
-828
lines changed

13 files changed

+33
-828
lines changed

.github/workflows/osx.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
brew install llvm@9
2525
python -m pip install --upgrade pip
2626
LLVM_CONFIG=/usr/local/Cellar/llvm@9/9.0.1_2/bin/llvm-config pip install llvmlite
27-
python -m pip install -e git://github.com/mathics/Mathics.git#egg=Mathics3
2827
- name: Install mathicsscript
2928
run: |
3029
make

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
/.cache
2222
/.coverage
2323
/.eggs
24+
./mathicsscript/inputrc-no-unicode
25+
./mathicsscript/inputrc-unicode
2426
/.mypy_cache
2527
/.pytest_cache
2628
/.python-version

Makefile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ PYTHON ?= python3
99
PIP ?= pip3
1010
RM ?= rm
1111

12-
.PHONY: all build check clean develop dist doc pytest sdist test rmChangeLog
12+
.PHONY: all build check clean inputrc develop dist doc pytest sdist test rmChangeLog
1313

1414
#: Default target - same as "develop"
1515
all: develop
1616

1717
#: build everything needed to install
18-
build:
18+
build: inputrc
1919
$(PYTHON) ./setup.py build
2020

2121
#: Set up to run from the source tree
@@ -31,20 +31,31 @@ runner:
3131
watchgod mathicsscript.__main__.main
3232

3333
#: Install mathicsscript
34-
install:
34+
install: inputrc
3535
$(PYTHON) setup.py install
3636

3737
#: Run tests. You can set environment variable "o" for pytest options
38-
check:
38+
check: inputrc
3939
py.test test $o
4040

41+
inputrc: mathicsscript/inputrc-unicode mathicsscript/inputrc-no-unicode
42+
43+
mathicsscript/inputrc-unicode:
44+
@echo "# GNU Readline input unicode translations\n# Autogenerated from mathics_scanner.generate.rl_inputrc on $$(date)\n" > $@
45+
$(PYTHON) -m mathics_scanner.generate.rl_inputrc inputrc-unicode >> $@
46+
47+
mathicsscript/inputrc-no-unicode:
48+
@echo "# GNU Readline input ASCII translations\n# Autogenerated from mathics_scanner.generate.rl_inputrc on $$(date)\n" > $@
49+
$(PYTHON) -m mathics_scanner.generate.rl_inputrc inputrc-no-unicode >> $@
50+
4151
# Check StructuredText long description formatting
4252
check-rst:
4353
$(PYTHON) setup.py --long-description | ./rst2html.py > mathicsscript.html
4454

4555
#: Remove derived files
4656
clean:
4757
@find . -name "*.pyc" -type f -delete
58+
@rm mathicsscript/inputrc-no-unicode mathicsscript/inputrc-unicode || true
4859

4960
#: Remove ChangeLog
5061
rmChangeLog:

NEWS.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
2.0.0
1+
1.2.0
2+
-----
3+
4+
* All escape sequence for unicode and letter names added for GNU Readline
5+
* Use Mathics Scanner package
6+
* Support XDG-style configuration files
7+
8+
1.1.2
29
-----
310

411
* Fix ``Settings`$ShowFullForm`` now that we use Mathics supports Booleans better

admin-tools/make-dist.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ for pyversion in $PYVERSIONS; do
3232
python setup.py bdist_egg
3333
python setup.py bdist_wheel
3434
python setup.py bdist_wheel --universal
35-
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl
3635
done
3736

3837
python ./setup.py sdist

mathicsscript/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/inputrc-no-unicode
2+
/inputrc-unicode

mathicsscript/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"""
33
mathicsscript is a command-line interface to Mathics.
44
5-
Copyright 2020 The Mathics Team
5+
Copyright 2020-2021 The Mathics Team
66
"""
77
from mathicsscript.version import __version__

mathicsscript/inputrc

Lines changed: 0 additions & 41 deletions
This file was deleted.

mathicsscript/inputrc-no-unicode

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)