File tree Expand file tree Collapse file tree 7 files changed +20
-10
lines changed
Expand file tree Collapse file tree 7 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ clean-pyc:
4949
5050# : Run py.test tests. Use environment variable "o" for pytest options
5151pytest :
52- py.test test $o
52+ pytest test $o
5353
5454
5555# #: Make Mathics PDF manual
Original file line number Diff line number Diff line change 1+ 9.0.1
2+ -----
3+
4+ Change module name to Mathics3-Module-hello. Revise documentation.
5+
6+
179.0.0
28-----
39
Original file line number Diff line number Diff line change @@ -19,12 +19,15 @@ Then the function ```Hello[]`` is available::
1919 In[1]:= LoadModule["pymathics.hello"]
2020 Out[1]= pymathics.hello
2121
22- In[2]:= Hello["World" ]
22+ In[2]:= Hello[]
2323 Out[2]:= Hello, World!
2424
25- You can test with ``py.test ``::
25+ In[2]:= Hello["everyone"]
26+ Out[2]:= Hello, everyone!
2627
27- $ py.test test
28+ You can test with ``pytest ``::
29+
30+ $ pytest test
2831
2932or simply::
3033
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22"""
3- PyMathics Hello test module.
3+ Mathics3 Module hello module.
44
5- This is an example of an external PyMathics module.
5+ This is an example of an external Mathics3 module.
66
7- A PyMathics module is a Python module which can be loaded into Mathics using the
7+ A Mathics3 module is a Python module which can be loaded into Mathics using the
88``LoadModule[]`` method.
99
1010In particular, to load this after installing this module as a Python module run inside
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ class Hello(Builtin):
1212 <dd>An example function in a Python-importable Mathics3 module.
1313 </dl>
1414
15- >> PyMathics`Hello["World"]
15+ >> Hello["everyone"]
16+ = "Hello, everyone!"
1617
1718 See also the <url>
1819 :developer guide section:
Original file line number Diff line number Diff line change 55# well as importing into Python. That's why there is no
66# space around "=" below.
77# fmt: off
8- __version__ = "9.0.1.dev0 " # noqa
8+ __version__ = "9.0.1" # noqa
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ requires = [
66build-backend = " setuptools.build_meta"
77
88[project ]
9- name = " Mathics3-hello"
9+ name = " Mathics3-Module- hello"
1010description = ' Mathics3 Hello, World! module'
1111dependencies = [
1212 " Mathics3-Module-Base >= 9.0.0" ,
You can’t perform that action at this time.
0 commit comments