Skip to content

Commit d381acb

Browse files
committed
Get ready for release 1.1.0
1 parent 9ce895d commit d381acb

File tree

6 files changed

+36
-34
lines changed

6 files changed

+36
-34
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ repos:
99
hooks:
1010
- id: black
1111
language_version: python3
12+
exclude: 'mathicsscript/version.py'

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
1.1.0
2+
-----
3+
4+
Now that Mathic3 1.1.0 is released depend on that.
5+
6+
Some interal prepartion work was done to support changing settings inside the REPL.
7+
Not ready for release yet.
8+
19
1.1.0 rc1
210
---------
311

admin-tools/make-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
PACKAGE=mathics
2+
PACKAGE=mathicsscript
33

44
# FIXME put some of the below in a common routine
55
function finish {

mathicsscript/settings.py

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,37 @@
11
from mathics.builtin import builtins
2-
from mathics.builtin.base import Predefined
2+
from mathics.builtin.base import Builtin
33
from mathics.builtin.assignment import Set
44
from mathics.core.definitions import Definitions
5-
from mathics.core.expression import (Expression, Symbol)
6-
from mathics.core.expression import (Expression, Symbol)
5+
from mathics.core.expression import Expression, Symbol
76

8-
# FullFormInput = Definition("Global`$FullFormInput", defaultvalues=[True],
9-
# ownvalues=[True], builtin=True)
7+
from mathicsscript.version import __version__
108

11-
FullFormInput = Symbol("Global`$FullFormInput")
12-
true = Symbol("System`True")
13-
xx = Set(FullFormInput, true, expression=False)
14-
definitions = Definitions(add_builtin=True)
15-
from trepan.api import debug; debug()
16-
xx.apply(FullFormInput, true, definitions)
17-
print(xx)
9+
pymathics_version_data = {
10+
"author": "The Mathics Team",
11+
"version": __version__,
12+
"requires": [],
13+
}
1814

1915

20-
# class FullFormInput(Predefined):
21-
# """
22-
# <dl>
23-
# <dt>'$FullFormInput'
24-
# <dd>
25-
# </dl>
16+
class ShowFullFormInput(Builtin):
17+
"""
18+
<dl>
19+
<dt>$ShowFullFormInput'
20+
<dd> If True, show the FullForm parse of terminal input
21+
</dl>
22+
"""
2623

27-
# Example:
28-
# <pre>
29-
# In[1] = $FullFormInput
30-
# Out[1] = False
31-
# </pre>
24+
name = "$ShowFullFormInput"
25+
attributes = ("Unprotected",)
3226

33-
# >> Head[$FullFormInteger] == Boolean
34-
# = True
35-
# """
27+
def apply(self, lhs, rhs, evaluation):
28+
"lhs_ = rhs_"
3629

37-
# name = "$FullFormInput"
30+
self.assign(lhs, rhs, evaluation)
31+
return rhs
32+
33+
def evaluate(self, evaluation) -> Symbol:
34+
return self.value
3835

39-
# def evaluate(self, evaluation) -> Expression:
40-
# return True
4136

42-
# instance = FullFormInput()
43-
# builtins['$FullFormInput'] = instance
4437
# definitions.get_attributes(').clear()

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__="1.1.0rc1" # noqa
6+
__version__="1.1.0" # noqa

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def read(*rnames):
6565
include_package_data=True,
6666
package_data={"": ["inputrc"]},
6767
install_requires=[
68-
"mathics >= 1.0",
68+
"Mathics3 >= 1.0",
6969
"click",
7070
"colorama",
7171
"pygments",

0 commit comments

Comments
 (0)