passagemath-mathilda 10.8.13__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ graft passagemath_mathilda
2
+
3
+ prune sage
4
+
5
+ include VERSION.txt
6
+
7
+ include sage/interfaces/mathilda.p*
8
+ include sage/libs/mathilda.p*
9
+
10
+ graft sage/ext_data/doctest/invalid
11
+
12
+ global-exclude *.c
13
+ global-exclude *.cpp
14
+
15
+ global-exclude all__sagemath_*.py
16
+ global-include all__sagemath_mathilda.py
17
+
18
+ include repair_wheel.py
19
+
20
+ global-exclude __pycache__
21
+ global-exclude *.py[co]
22
+ global-exclude *.bak
23
+ global-exclude *.so
24
+ global-exclude *~
25
+ prune .tox
26
+ prune build
27
+ prune dist
@@ -0,0 +1,144 @@
1
+ Metadata-Version: 2.4
2
+ Name: passagemath-mathilda
3
+ Version: 10.8.13
4
+ Summary: passagemath: Interface to the computer algebra system Mathilda
5
+ Author-email: The Sage Developers <sage-support@googlegroups.com>
6
+ Maintainer: Matthias Köppe, passagemath contributors
7
+ License-Expression: GPL-2.0-or-later
8
+ Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
+ Project-URL: repo (upstream), https://github.com/sagemath/sage
10
+ Project-URL: repo, https://github.com/passagemath/passagemath
11
+ Project-URL: documentation, https://passagemath.org/docs/latest
12
+ Project-URL: homepage (upstream), https://www.sagemath.org
13
+ Project-URL: discourse, https://passagemath.discourse.group
14
+ Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
15
+ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
+ Classifier: Development Status :: 6 - Mature
17
+ Classifier: Intended Audience :: Education
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: Operating System :: POSIX
20
+ Classifier: Operating System :: POSIX :: Linux
21
+ Classifier: Operating System :: MacOS :: MacOS X
22
+ Classifier: Programming Language :: Python :: 3 :: Only
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
29
+ Requires-Python: <3.15,>=3.11
30
+ Description-Content-Type: text/x-rst
31
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
32
+ Requires-Dist: cysignals>=1.12.6; python_version >= "3.14"
33
+ Requires-Dist: cysignals!=1.12.0,>=1.11.2
34
+ Requires-Dist: passagemath-environment~=10.8.13.0
35
+ Requires-Dist: passagemath-objects~=10.8.13.0
36
+ Provides-Extra: test
37
+ Requires-Dist: passagemath-repl~=10.8.13.0; extra == "test"
38
+ Provides-Extra: jupyterlab
39
+ Requires-Dist: jupyterlab; extra == "jupyterlab"
40
+ Provides-Extra: notebook
41
+ Requires-Dist: notebook>=6.1.1; extra == "notebook"
42
+
43
+ ==============================================================
44
+ passagemath: Interface to the computer algebra system Mathilda
45
+ ==============================================================
46
+
47
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
48
+ source mathematical software in Python, released under the GNU General
49
+ Public Licence GPLv2+.
50
+
51
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
52
+ developed 2005-2026 under the motto “Creating a Viable Open Source
53
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
54
+
55
+ The passagemath fork uses the motto "Creating a Free Passage Between the
56
+ Scientific Python Ecosystem and Mathematical Software Communities."
57
+ It was created in October 2024 with the following goals:
58
+
59
+ - providing modularized installation with pip from binary wheels,
60
+ - this major project was started in May 2020 in the Sage codebase and completed in passagemath 10.5.29 (May 2025),
61
+
62
+ - establishing first-class membership in the scientific Python
63
+ ecosystem,
64
+
65
+ - giving `clear attribution of upstream
66
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
67
+
68
+ - providing independently usable Python interfaces to upstream
69
+ libraries,
70
+
71
+ - offering `platform portability and integration testing
72
+ services <https://github.com/passagemath/passagemath/issues/704>`__
73
+ to upstream projects,
74
+
75
+ - inviting collaborations with upstream projects,
76
+
77
+ - `building a professional, respectful, inclusive
78
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
79
+
80
+ - `empowering Sage users to participate in the scientific Python ecosystem
81
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
82
+
83
+ - developing a port to WebAssembly (`Pyodide <https://pyodide.org/en/stable/>`__, emscripten-forge) for
84
+ serverless deployment with Javascript,
85
+
86
+ - developing a native Windows port
87
+ - passagemath 10.6.1 (July 2025) published the first pip-installable wheel packages for native Windows on x86_64,
88
+ - passagemath packages became available in the [MSYS2 software distribution](https://packages.msys2.org/search?t=pkg&q=passagemath) in November 2025.
89
+
90
+ Moreover, the passagemath project:
91
+
92
+ - provides a stable, frequently updated version of the Sage distribution,
93
+ - integrates additional mathematical software, notably Macaulay2, a full set of GAP packages,
94
+ and the Combinatorial Matrix Recognition library,
95
+ - curates a library of Sage user packages.
96
+
97
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
98
+ available online.
99
+
100
+ passagemath attempts to support and provides binary wheels suitable for
101
+ all major Linux distributions and recent versions of macOS.
102
+
103
+ Binary wheels for native Windows (x86_64, ARM) are are available for a subset of
104
+ the passagemath distributions. Use of the full functionality of passagemath
105
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
106
+ or virtualization.
107
+
108
+ The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x;
109
+ the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.
110
+
111
+
112
+ About this pip-installable distribution package
113
+ -----------------------------------------------
114
+
115
+ This pip-installable source distribution ``passagemath-mathilda`` provides an
116
+ interface to the computer algebra system
117
+ `Mathilda <https://passagemath.org/docs/latest/html/en/reference/spkg/mathilda.html>`__.
118
+
119
+
120
+ Examples
121
+ --------
122
+
123
+ Running Mathilda from the command line::
124
+
125
+ $ pipx run --spec "passagemath-mathilda" sage -sh -c mathilda
126
+
127
+
128
+ What is included
129
+ ----------------
130
+
131
+ - Mathilda Jupyter kernel spec
132
+
133
+ - the binary wheels on PyPI ship a prebuilt copy of Mathilda, including
134
+ a Jupyter kernel
135
+
136
+
137
+ Available as extras, from other distributions
138
+ ---------------------------------------------
139
+
140
+ ``pip install "passagemath-mathilda[notebook]"``
141
+ installs the Jupyter notebook
142
+
143
+ ``pip install "passagemath-mathilda[jupyterlab]"``
144
+ installs JupyterLab
@@ -0,0 +1,102 @@
1
+ ==============================================================
2
+ passagemath: Interface to the computer algebra system Mathilda
3
+ ==============================================================
4
+
5
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
6
+ source mathematical software in Python, released under the GNU General
7
+ Public Licence GPLv2+.
8
+
9
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
10
+ developed 2005-2026 under the motto “Creating a Viable Open Source
11
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
12
+
13
+ The passagemath fork uses the motto "Creating a Free Passage Between the
14
+ Scientific Python Ecosystem and Mathematical Software Communities."
15
+ It was created in October 2024 with the following goals:
16
+
17
+ - providing modularized installation with pip from binary wheels,
18
+ - this major project was started in May 2020 in the Sage codebase and completed in passagemath 10.5.29 (May 2025),
19
+
20
+ - establishing first-class membership in the scientific Python
21
+ ecosystem,
22
+
23
+ - giving `clear attribution of upstream
24
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
25
+
26
+ - providing independently usable Python interfaces to upstream
27
+ libraries,
28
+
29
+ - offering `platform portability and integration testing
30
+ services <https://github.com/passagemath/passagemath/issues/704>`__
31
+ to upstream projects,
32
+
33
+ - inviting collaborations with upstream projects,
34
+
35
+ - `building a professional, respectful, inclusive
36
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
37
+
38
+ - `empowering Sage users to participate in the scientific Python ecosystem
39
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
40
+
41
+ - developing a port to WebAssembly (`Pyodide <https://pyodide.org/en/stable/>`__, emscripten-forge) for
42
+ serverless deployment with Javascript,
43
+
44
+ - developing a native Windows port
45
+ - passagemath 10.6.1 (July 2025) published the first pip-installable wheel packages for native Windows on x86_64,
46
+ - passagemath packages became available in the [MSYS2 software distribution](https://packages.msys2.org/search?t=pkg&q=passagemath) in November 2025.
47
+
48
+ Moreover, the passagemath project:
49
+
50
+ - provides a stable, frequently updated version of the Sage distribution,
51
+ - integrates additional mathematical software, notably Macaulay2, a full set of GAP packages,
52
+ and the Combinatorial Matrix Recognition library,
53
+ - curates a library of Sage user packages.
54
+
55
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
56
+ available online.
57
+
58
+ passagemath attempts to support and provides binary wheels suitable for
59
+ all major Linux distributions and recent versions of macOS.
60
+
61
+ Binary wheels for native Windows (x86_64, ARM) are are available for a subset of
62
+ the passagemath distributions. Use of the full functionality of passagemath
63
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
64
+ or virtualization.
65
+
66
+ The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x;
67
+ the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.
68
+
69
+
70
+ About this pip-installable distribution package
71
+ -----------------------------------------------
72
+
73
+ This pip-installable source distribution ``passagemath-mathilda`` provides an
74
+ interface to the computer algebra system
75
+ `Mathilda <https://passagemath.org/docs/latest/html/en/reference/spkg/mathilda.html>`__.
76
+
77
+
78
+ Examples
79
+ --------
80
+
81
+ Running Mathilda from the command line::
82
+
83
+ $ pipx run --spec "passagemath-mathilda" sage -sh -c mathilda
84
+
85
+
86
+ What is included
87
+ ----------------
88
+
89
+ - Mathilda Jupyter kernel spec
90
+
91
+ - the binary wheels on PyPI ship a prebuilt copy of Mathilda, including
92
+ a Jupyter kernel
93
+
94
+
95
+ Available as extras, from other distributions
96
+ ---------------------------------------------
97
+
98
+ ``pip install "passagemath-mathilda[notebook]"``
99
+ installs the Jupyter notebook
100
+
101
+ ``pip install "passagemath-mathilda[jupyterlab]"``
102
+ installs JupyterLab
@@ -0,0 +1 @@
1
+ 10.8.13
@@ -0,0 +1,10 @@
1
+ {
2
+ "display_name": "Mathilda",
3
+ "argv": [
4
+ "sage",
5
+ "-sh",
6
+ "-c",
7
+ "xmathilda -f {connection_file}"
8
+ ],
9
+ "language": "mathilda"
10
+ }
@@ -0,0 +1,3 @@
1
+ # sage_setup: distribution = sagemath-mathilda
2
+
3
+ from sage.all__sagemath_mathilda import *
@@ -0,0 +1,144 @@
1
+ Metadata-Version: 2.4
2
+ Name: passagemath-mathilda
3
+ Version: 10.8.13
4
+ Summary: passagemath: Interface to the computer algebra system Mathilda
5
+ Author-email: The Sage Developers <sage-support@googlegroups.com>
6
+ Maintainer: Matthias Köppe, passagemath contributors
7
+ License-Expression: GPL-2.0-or-later
8
+ Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
+ Project-URL: repo (upstream), https://github.com/sagemath/sage
10
+ Project-URL: repo, https://github.com/passagemath/passagemath
11
+ Project-URL: documentation, https://passagemath.org/docs/latest
12
+ Project-URL: homepage (upstream), https://www.sagemath.org
13
+ Project-URL: discourse, https://passagemath.discourse.group
14
+ Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
15
+ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
+ Classifier: Development Status :: 6 - Mature
17
+ Classifier: Intended Audience :: Education
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: Operating System :: POSIX
20
+ Classifier: Operating System :: POSIX :: Linux
21
+ Classifier: Operating System :: MacOS :: MacOS X
22
+ Classifier: Programming Language :: Python :: 3 :: Only
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
29
+ Requires-Python: <3.15,>=3.11
30
+ Description-Content-Type: text/x-rst
31
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
32
+ Requires-Dist: cysignals>=1.12.6; python_version >= "3.14"
33
+ Requires-Dist: cysignals!=1.12.0,>=1.11.2
34
+ Requires-Dist: passagemath-environment~=10.8.13.0
35
+ Requires-Dist: passagemath-objects~=10.8.13.0
36
+ Provides-Extra: test
37
+ Requires-Dist: passagemath-repl~=10.8.13.0; extra == "test"
38
+ Provides-Extra: jupyterlab
39
+ Requires-Dist: jupyterlab; extra == "jupyterlab"
40
+ Provides-Extra: notebook
41
+ Requires-Dist: notebook>=6.1.1; extra == "notebook"
42
+
43
+ ==============================================================
44
+ passagemath: Interface to the computer algebra system Mathilda
45
+ ==============================================================
46
+
47
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
48
+ source mathematical software in Python, released under the GNU General
49
+ Public Licence GPLv2+.
50
+
51
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
52
+ developed 2005-2026 under the motto “Creating a Viable Open Source
53
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
54
+
55
+ The passagemath fork uses the motto "Creating a Free Passage Between the
56
+ Scientific Python Ecosystem and Mathematical Software Communities."
57
+ It was created in October 2024 with the following goals:
58
+
59
+ - providing modularized installation with pip from binary wheels,
60
+ - this major project was started in May 2020 in the Sage codebase and completed in passagemath 10.5.29 (May 2025),
61
+
62
+ - establishing first-class membership in the scientific Python
63
+ ecosystem,
64
+
65
+ - giving `clear attribution of upstream
66
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
67
+
68
+ - providing independently usable Python interfaces to upstream
69
+ libraries,
70
+
71
+ - offering `platform portability and integration testing
72
+ services <https://github.com/passagemath/passagemath/issues/704>`__
73
+ to upstream projects,
74
+
75
+ - inviting collaborations with upstream projects,
76
+
77
+ - `building a professional, respectful, inclusive
78
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
79
+
80
+ - `empowering Sage users to participate in the scientific Python ecosystem
81
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
82
+
83
+ - developing a port to WebAssembly (`Pyodide <https://pyodide.org/en/stable/>`__, emscripten-forge) for
84
+ serverless deployment with Javascript,
85
+
86
+ - developing a native Windows port
87
+ - passagemath 10.6.1 (July 2025) published the first pip-installable wheel packages for native Windows on x86_64,
88
+ - passagemath packages became available in the [MSYS2 software distribution](https://packages.msys2.org/search?t=pkg&q=passagemath) in November 2025.
89
+
90
+ Moreover, the passagemath project:
91
+
92
+ - provides a stable, frequently updated version of the Sage distribution,
93
+ - integrates additional mathematical software, notably Macaulay2, a full set of GAP packages,
94
+ and the Combinatorial Matrix Recognition library,
95
+ - curates a library of Sage user packages.
96
+
97
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
98
+ available online.
99
+
100
+ passagemath attempts to support and provides binary wheels suitable for
101
+ all major Linux distributions and recent versions of macOS.
102
+
103
+ Binary wheels for native Windows (x86_64, ARM) are are available for a subset of
104
+ the passagemath distributions. Use of the full functionality of passagemath
105
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
106
+ or virtualization.
107
+
108
+ The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x;
109
+ the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.
110
+
111
+
112
+ About this pip-installable distribution package
113
+ -----------------------------------------------
114
+
115
+ This pip-installable source distribution ``passagemath-mathilda`` provides an
116
+ interface to the computer algebra system
117
+ `Mathilda <https://passagemath.org/docs/latest/html/en/reference/spkg/mathilda.html>`__.
118
+
119
+
120
+ Examples
121
+ --------
122
+
123
+ Running Mathilda from the command line::
124
+
125
+ $ pipx run --spec "passagemath-mathilda" sage -sh -c mathilda
126
+
127
+
128
+ What is included
129
+ ----------------
130
+
131
+ - Mathilda Jupyter kernel spec
132
+
133
+ - the binary wheels on PyPI ship a prebuilt copy of Mathilda, including
134
+ a Jupyter kernel
135
+
136
+
137
+ Available as extras, from other distributions
138
+ ---------------------------------------------
139
+
140
+ ``pip install "passagemath-mathilda[notebook]"``
141
+ installs the Jupyter notebook
142
+
143
+ ``pip install "passagemath-mathilda[jupyterlab]"``
144
+ installs JupyterLab
@@ -0,0 +1,18 @@
1
+ MANIFEST.in
2
+ README.rst
3
+ VERSION.txt
4
+ kernel.json
5
+ pyproject.toml
6
+ repair_wheel.py
7
+ setup.py
8
+ passagemath_mathilda/__init__.py
9
+ passagemath_mathilda.egg-info/PKG-INFO
10
+ passagemath_mathilda.egg-info/SOURCES.txt
11
+ passagemath_mathilda.egg-info/dependency_links.txt
12
+ passagemath_mathilda.egg-info/requires.txt
13
+ passagemath_mathilda.egg-info/top_level.txt
14
+ sage/all__sagemath_mathilda.py
15
+ sage/ext_data/doctest/invalid/syntax_error.tachyon
16
+ sage/interfaces/all__sagemath_mathilda.py
17
+ sage/libs/all__sagemath_mathilda.py
18
+ sage/libs/mathilda.pyx
@@ -0,0 +1,18 @@
1
+ cysignals!=1.12.0,>=1.11.2
2
+ passagemath-environment~=10.8.13.0
3
+ passagemath-objects~=10.8.13.0
4
+
5
+ [:python_version >= "3.14"]
6
+ cysignals>=1.12.6
7
+
8
+ [:sys_platform == "win32"]
9
+ cysignals!=1.12.4
10
+
11
+ [jupyterlab]
12
+ jupyterlab
13
+
14
+ [notebook]
15
+ notebook>=6.1.1
16
+
17
+ [test]
18
+ passagemath-repl~=10.8.13.0
@@ -0,0 +1,108 @@
1
+ [build-system]
2
+ # Minimum requirements for the build system to execute.
3
+ requires = [
4
+ 'setuptools >= 77.0.0',
5
+ 'pkgconfig',
6
+ 'passagemath-conf ~= 10.8.13.0 ; sys_platform != "win32"',
7
+ 'passagemath-setup ~= 10.8.13.0',
8
+ 'passagemath-environment ~= 10.8.13.0',
9
+ 'passagemath-objects ~= 10.8.13.0',
10
+ 'cython >=3.1.0,<3.4.0',
11
+ 'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >= 1.12.6; python_version >= "3.14"', 'cysignals >=1.11.2, != 1.12.0',
12
+ ]
13
+ build-backend = "setuptools.build_meta"
14
+
15
+ [project]
16
+ name = "passagemath-mathilda"
17
+ description = "passagemath: Interface to the computer algebra system Mathilda"
18
+ dependencies = [
19
+ 'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >= 1.12.6; python_version >= "3.14"', 'cysignals >=1.11.2, != 1.12.0',
20
+ 'passagemath-environment ~= 10.8.13.0',
21
+ 'passagemath-objects ~= 10.8.13.0',
22
+ ]
23
+ dynamic = ["version"]
24
+ license = "GPL-2.0-or-later"
25
+ authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
26
+ maintainers = [
27
+ {name = "Matthias Köppe"},
28
+ {name = "passagemath contributors"},
29
+ ]
30
+ classifiers = [
31
+ "Development Status :: 6 - Mature",
32
+ "Intended Audience :: Education",
33
+ "Intended Audience :: Science/Research",
34
+ "Operating System :: POSIX",
35
+ "Operating System :: POSIX :: Linux",
36
+ "Operating System :: MacOS :: MacOS X",
37
+ "Programming Language :: Python :: 3 :: Only",
38
+ "Programming Language :: Python :: 3.11",
39
+ "Programming Language :: Python :: 3.12",
40
+ "Programming Language :: Python :: 3.13",
41
+ "Programming Language :: Python :: 3.14",
42
+ "Programming Language :: Python :: Implementation :: CPython",
43
+ "Topic :: Scientific/Engineering :: Mathematics",
44
+ ]
45
+ requires-python = ">=3.11, <3.15"
46
+
47
+ [project.urls]
48
+ "release notes" = "https://github.com/passagemath/passagemath/releases"
49
+ "repo (upstream)" = "https://github.com/sagemath/sage"
50
+ "repo" = "https://github.com/passagemath/passagemath"
51
+ documentation = "https://passagemath.org/docs/latest"
52
+ "homepage (upstream)" = "https://www.sagemath.org"
53
+ "discourse" = "https://passagemath.discourse.group"
54
+ "tracker (upstream)" = "https://github.com/sagemath/sage/issues"
55
+ "tracker" = "https://github.com/passagemath/passagemath/issues"
56
+
57
+ [project.readme]
58
+ file = "README.rst"
59
+ content-type = "text/x-rst"
60
+
61
+ [project.optional-dependencies]
62
+ test = [
63
+ 'passagemath-repl ~= 10.8.13.0',
64
+ ]
65
+
66
+ jupyterlab = [
67
+ 'jupyterlab',
68
+ ]
69
+ notebook = [
70
+ 'notebook >=6.1.1',
71
+ ]
72
+
73
+ [tool.cibuildwheel.linux]
74
+ repair-wheel-command = [
75
+ 'python3 -m pip install passagemath-conf auditwheel',
76
+ 'python3 {package}/repair_wheel.py {wheel}',
77
+ 'auditwheel repair -w {dest_dir} {wheel}',
78
+ ]
79
+ [tool.cibuildwheel.macos]
80
+ repair-wheel-command = [
81
+ 'python3 -m pip install passagemath-conf auditwheel',
82
+ 'python3 {package}/repair_wheel.py {wheel}',
83
+ 'delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}',
84
+ ]
85
+
86
+ [tool.setuptools]
87
+ include-package-data = false
88
+
89
+ [tool.setuptools.dynamic]
90
+ version = {file = ["VERSION.txt"]}
91
+
92
+ [external]
93
+ # External dependencies in the format proposed by https://peps.python.org/pep-0725
94
+ build-requires = [
95
+ "virtual:compiler/c",
96
+ "virtual:compiler/cpp",
97
+ "pkg:generic/pkg-config",
98
+ ]
99
+
100
+ host-requires = [
101
+ "pkg:generic/mathilda",
102
+ "pkg:generic/gmp",
103
+ "pkg:generic/mpc",
104
+ "pkg:generic/mpfr",
105
+ ]
106
+
107
+ dependencies = [
108
+ ]
@@ -0,0 +1,24 @@
1
+ # Add data to the wheel
2
+
3
+ import os
4
+ import shlex
5
+ import sys
6
+
7
+ from pathlib import Path
8
+
9
+ from auditwheel.wheeltools import InWheel
10
+
11
+ from sage.config import SAGE_LOCAL
12
+
13
+ if "TMPDIR" in os.environ:
14
+ os.environ["TMPDIR"] = str(Path(os.environ["TMPDIR"]).resolve())
15
+
16
+ wheel = Path(sys.argv[1])
17
+
18
+ # SAGE_LOCAL/bin/mathilda --> sage_wheels/bin/mathilda
19
+ with InWheel(wheel, wheel):
20
+ command = f'set -o pipefail; (cd {shlex.quote(SAGE_LOCAL)} && tar cf - --dereference bin/Mathilda bin/xmathilda share/mathilda) | (mkdir -p sage_wheels && cd sage_wheels && tar xvf -)'
21
+ print(f'Running {command}')
22
+ sys.stdout.flush()
23
+ if os.system(f"bash -c {shlex.quote(command)}") != 0:
24
+ sys.exit(1)
@@ -0,0 +1 @@
1
+ # sage_setup: distribution = sagemath-mathilda
@@ -0,0 +1,91 @@
1
+ # This is NOT a valid tachyon input file
2
+ #
3
+ # We use it to test that tachyon errors are diagnosed in the Sage
4
+ # interface to tachyon.
5
+
6
+
7
+ begin_scene
8
+ resolution 400 400
9
+
10
+ camera
11
+ zoom 1.0
12
+ aspectratio 1.0
13
+ antialiasing 8
14
+ raydepth 8
15
+ center 2.3 2.4 2.0
16
+ viewdir -2.3 -2.4 -2.0
17
+ updir 0.0 0.0 1.0
18
+ end_camera
19
+
20
+
21
+ light center 4.0 3.0 2.0
22
+ rad 0.2
23
+ color 1.0 1.0 1.0
24
+
25
+ plane
26
+ center -2000 -1000 -500
27
+ normal 2.3 2.4 2.0
28
+ TEXTURE
29
+ AMBIENT 1.0 DIFFUSE 1.0 SPECULAR 1.0 OPACITY 1.0
30
+ COLOR 1.0 1.0 1.0
31
+ TEXFUNC 0
32
+
33
+ Texdef texture239
34
+ Ambient 0.333333333333 Diffuse 0.666666666667 Specular 0.0 Opacity 1
35
+ Color 0.0 0.0 0.0
36
+ TexFunc 0
37
+ Texdef texture240
38
+ Ambient 0.333333333333 Diffuse 0.666666666667 Specular 0.0 Opacity 1/2
39
+ Color 0.0 0.0 0.0
40
+ TexFunc 0
41
+
42
+ TRI V0 0.5 -0.5 0.5 V1 -0.5 -0.5 0.5 V2 -0.5 0.5 0.5
43
+ texture239
44
+ TRI V0 0.5 -0.5 0.5 V1 -0.5 0.5 0.5 V2 0.5 0.5 0.5
45
+ texture239
46
+ TRI V0 0.5 -0.5 0.5 V1 0.5 -0.5 -0.5 V2 -0.5 -0.5 -0.5
47
+ texture239
48
+ TRI V0 0.5 -0.5 0.5 V1 -0.5 -0.5 -0.5 V2 -0.5 -0.5 0.5
49
+ texture239
50
+ TRI V0 0.5 -0.5 0.5 V1 0.5 0.5 0.5 V2 0.5 0.5 -0.5
51
+ texture239
52
+ TRI V0 0.5 -0.5 0.5 V1 0.5 0.5 -0.5 V2 0.5 -0.5 -0.5
53
+ texture239
54
+ TRI V0 -0.5 -0.5 -0.5 V1 0.5 -0.5 -0.5 V2 0.5 0.5 -0.5
55
+ texture239
56
+ TRI V0 -0.5 -0.5 -0.5 V1 0.5 0.5 -0.5 V2 -0.5 0.5 -0.5
57
+ texture239
58
+ TRI V0 0.5 0.5 -0.5 V1 0.5 0.5 0.5 V2 -0.5 0.5 0.5
59
+ texture239
60
+ TRI V0 0.5 0.5 -0.5 V1 -0.5 0.5 0.5 V2 -0.5 0.5 -0.5
61
+ texture239
62
+ TRI V0 -0.5 0.5 0.5 V1 -0.5 -0.5 0.5 V2 -0.5 -0.5 -0.5
63
+ texture239
64
+ TRI V0 -0.5 0.5 0.5 V1 -0.5 -0.5 -0.5 V2 -0.5 0.5 -0.5
65
+ texture239
66
+ TRI V0 3 -0.5 0.5 V1 2 -0.5 0.5 V2 2 0.5 0.5
67
+ texture240
68
+ TRI V0 3 -0.5 0.5 V1 2 0.5 0.5 V2 3 0.5 0.5
69
+ texture240
70
+ TRI V0 3 -0.5 0.5 V1 3 -0.5 -0.5 V2 2 -0.5 -0.5
71
+ texture240
72
+ TRI V0 3 -0.5 0.5 V1 2 -0.5 -0.5 V2 2 -0.5 0.5
73
+ texture240
74
+ TRI V0 3 -0.5 0.5 V1 3 0.5 0.5 V2 3 0.5 -0.5
75
+ texture240
76
+ TRI V0 3 -0.5 0.5 V1 3 0.5 -0.5 V2 3 -0.5 -0.5
77
+ texture240
78
+ TRI V0 2 -0.5 -0.5 V1 3 -0.5 -0.5 V2 3 0.5 -0.5
79
+ texture240
80
+ TRI V0 2 -0.5 -0.5 V1 3 0.5 -0.5 V2 2 0.5 -0.5
81
+ texture240
82
+ TRI V0 3 0.5 -0.5 V1 3 0.5 0.5 V2 2 0.5 0.5
83
+ texture240
84
+ TRI V0 3 0.5 -0.5 V1 2 0.5 0.5 V2 2 0.5 -0.5
85
+ texture240
86
+ TRI V0 2 0.5 0.5 V1 2 -0.5 0.5 V2 2 -0.5 -0.5
87
+ texture240
88
+ TRI V0 2 0.5 0.5 V1 2 -0.5 -0.5 V2 2 0.5 -0.5
89
+ texture240
90
+
91
+ end_scene
@@ -0,0 +1 @@
1
+ # sage_setup: distribution = sagemath-mathilda
@@ -0,0 +1 @@
1
+ # sage_setup: distribution = sagemath-mathilda
@@ -0,0 +1 @@
1
+ # sage_setup: distribution = sagemath-mathilda
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env python
2
+
3
+ # PEP 517 builds do not have . in sys.path
4
+ import os
5
+ import sys
6
+ sys.path.insert(0, os.path.dirname(__file__))
7
+
8
+
9
+ kernelpath = os.path.join("share", "jupyter", "kernels", "mathilda")
10
+
11
+
12
+ from sage_setup import sage_setup
13
+
14
+
15
+ sage_setup(['sagemath-mathilda'],
16
+ recurse_packages=('sage', 'passagemath_mathilda'),
17
+ spkgs=['mathilda'],
18
+ package_data={
19
+ },
20
+ data_files=[
21
+ (kernelpath, ['kernel.json'])
22
+ ],
23
+ py_limited_api=True,
24
+ )