passagemath-palp 10.5.21__tar.gz → 10.6.41__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.

Potentially problematic release.


This version of passagemath-palp might be problematic. Click here for more details.

Files changed (20) hide show
  1. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/MANIFEST.in +4 -1
  2. {passagemath_palp-10.5.21/passagemath_palp.egg-info → passagemath_palp-10.6.41}/PKG-INFO +55 -26
  3. passagemath_palp-10.6.41/README.rst +103 -0
  4. passagemath_palp-10.6.41/VERSION.txt +1 -0
  5. passagemath_palp-10.6.41/passagemath_palp/__init__.py +3 -0
  6. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41/passagemath_palp.egg-info}/PKG-INFO +55 -26
  7. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/passagemath_palp.egg-info/SOURCES.txt +2 -0
  8. passagemath_palp-10.6.41/passagemath_palp.egg-info/requires.txt +11 -0
  9. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/pyproject.toml +15 -18
  10. passagemath_palp-10.6.41/repair_wheel.py +24 -0
  11. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/sage/all__sagemath_palp.py +1 -0
  12. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/setup.py +4 -1
  13. passagemath_palp-10.5.21/README.rst +0 -75
  14. passagemath_palp-10.5.21/VERSION.txt +0 -1
  15. passagemath_palp-10.5.21/passagemath_palp.egg-info/requires.txt +0 -8
  16. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/passagemath_palp.egg-info/dependency_links.txt +0 -0
  17. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/passagemath_palp.egg-info/top_level.txt +0 -0
  18. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/sage/libs/all__sagemath_palp.py +0 -0
  19. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/sage/libs/palp.pyx +0 -0
  20. {passagemath_palp-10.5.21 → passagemath_palp-10.6.41}/setup.cfg +0 -0
@@ -1,9 +1,10 @@
1
+ graft passagemath_palp
2
+
1
3
  prune sage
2
4
 
3
5
  include VERSION.txt
4
6
 
5
7
  include sage/libs/palp.p*
6
- include sage/rings/polynomial/palp.p*
7
8
 
8
9
  global-exclude *.c
9
10
  global-exclude *.cpp
@@ -11,6 +12,8 @@ global-exclude *.cpp
11
12
  global-exclude all__sagemath_*.py
12
13
  global-include all__sagemath_palp.py
13
14
 
15
+ include repair_wheel.py
16
+
14
17
  global-exclude __pycache__
15
18
  global-exclude *.py[co]
16
19
  global-exclude *.bak
@@ -1,14 +1,14 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: passagemath-palp
3
- Version: 10.5.21
3
+ Version: 10.6.41
4
4
  Summary: passagemath: Lattice polytopes and applications to toric geometry with PALP
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
7
- License: GNU General Public License (GPL) v2 or later
7
+ License-Expression: GPL-2.0-or-later
8
8
  Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
9
  Project-URL: repo (upstream), https://github.com/sagemath/sage
10
10
  Project-URL: repo, https://github.com/passagemath/passagemath
11
- Project-URL: documentation, https://doc.sagemath.org
11
+ Project-URL: documentation, https://passagemath.org/docs/latest
12
12
  Project-URL: homepage (upstream), https://www.sagemath.org
13
13
  Project-URL: discourse, https://passagemath.discourse.group
14
14
  Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
@@ -16,21 +16,22 @@ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
16
  Classifier: Development Status :: 6 - Mature
17
17
  Classifier: Intended Audience :: Education
18
18
  Classifier: Intended Audience :: Science/Research
19
- Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
20
19
  Classifier: Operating System :: POSIX
20
+ Classifier: Operating System :: POSIX :: Linux
21
21
  Classifier: Operating System :: MacOS :: MacOS X
22
22
  Classifier: Programming Language :: Python :: 3 :: Only
23
- Classifier: Programming Language :: Python :: 3.9
24
23
  Classifier: Programming Language :: Python :: 3.10
25
24
  Classifier: Programming Language :: Python :: 3.11
26
25
  Classifier: Programming Language :: Python :: 3.12
27
26
  Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: 3.14
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
29
  Classifier: Topic :: Scientific/Engineering :: Mathematics
30
- Requires-Python: <3.14,>=3.9
30
+ Requires-Python: <3.15,>=3.10
31
31
  Description-Content-Type: text/x-rst
32
- Requires-Dist: passagemath-environment~=10.5.21.0
33
- Requires-Dist: cysignals==1.12.0rc2
32
+ Requires-Dist: passagemath-environment~=10.6.41.0
33
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
34
+ Requires-Dist: cysignals!=1.12.0,>=1.11.2
34
35
  Provides-Extra: test
35
36
  Requires-Dist: passagemath-polyhedra; extra == "test"
36
37
  Requires-Dist: passagemath-flint; extra == "test"
@@ -41,28 +42,56 @@ Requires-Dist: passagemath-repl; extra == "test"
41
42
  passagemath: Lattice polytopes and applications to toric geometry with PALP
42
43
  ===========================================================================
43
44
 
44
- About SageMath
45
- --------------
46
-
47
- "Creating a Viable Open Source Alternative to
48
- Magma, Maple, Mathematica, and MATLAB"
49
-
50
- Copyright (C) 2005-2024 The Sage Development Team
51
-
52
- https://www.sagemath.org
53
-
54
- SageMath fully supports all major Linux distributions, recent versions of
55
- macOS, and Windows (Windows Subsystem for Linux).
56
-
57
- See https://doc.sagemath.org/html/en/installation/index.html
58
- for general installation instructions.
45
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
46
+ source mathematical software in Python, released under the GNU General
47
+ Public Licence GPLv2+.
48
+
49
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
50
+ developed 2005-2025 under the motto “Creating a Viable Open Source
51
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
52
+
53
+ The passagemath fork uses the motto "Creating a Free Passage Between the
54
+ Scientific Python Ecosystem and Mathematical Software Communities."
55
+ It was created in October 2024 with the following goals:
56
+
57
+ - providing modularized installation with pip,
58
+ - establishing first-class membership in the scientific Python
59
+ ecosystem,
60
+ - giving `clear attribution of upstream
61
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
62
+ - providing independently usable Python interfaces to upstream
63
+ libraries,
64
+ - offering `platform portability and integration testing
65
+ services <https://github.com/passagemath/passagemath/issues/704>`__
66
+ to upstream projects,
67
+ - inviting collaborations with upstream projects,
68
+ - `building a professional, respectful, inclusive
69
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
70
+ - `empowering Sage users to participate in the scientific Python ecosystem
71
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
72
+ - developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
73
+ serverless deployment with Javascript,
74
+ - developing a native Windows port.
75
+
76
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
77
+ available online.
78
+
79
+ passagemath attempts to support and provides binary wheels suitable for
80
+ all major Linux distributions and recent versions of macOS.
81
+
82
+ Binary wheels for native Windows (x86_64) are are available for a subset of
83
+ the passagemath distributions. Use of the full functionality of passagemath
84
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
85
+ or virtualization.
86
+
87
+ The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
59
88
 
60
89
 
61
90
  About this pip-installable distribution package
62
91
  -----------------------------------------------
63
92
 
64
93
  This pip-installable source distribution ``passagemath-palp`` provides
65
- an interface to the `Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html>` (PALP)
94
+ an interface to the `Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html>`__ (PALP)
66
95
  by M. Kreuzer and H. Skarke, a set of C programs for calculations
67
96
  with lattice polytopes and applications to toric geometry.
68
97
 
@@ -96,7 +125,7 @@ Use with sage.geometry::
96
125
 
97
126
  $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython
98
127
 
99
- In [1]: from sage.all__sagemath_polyhedra import *
128
+ In [1]: from passagemath_polyhedra import *
100
129
 
101
130
  In [2]: square = lattice_polytope.cross_polytope(2).polar()
102
131
 
@@ -0,0 +1,103 @@
1
+ ===========================================================================
2
+ passagemath: Lattice polytopes and applications to toric geometry with PALP
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-2025 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,
18
+ - establishing first-class membership in the scientific Python
19
+ ecosystem,
20
+ - giving `clear attribution of upstream
21
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
22
+ - providing independently usable Python interfaces to upstream
23
+ libraries,
24
+ - offering `platform portability and integration testing
25
+ services <https://github.com/passagemath/passagemath/issues/704>`__
26
+ to upstream projects,
27
+ - inviting collaborations with upstream projects,
28
+ - `building a professional, respectful, inclusive
29
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
30
+ - `empowering Sage users to participate in the scientific Python ecosystem
31
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
32
+ - developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
33
+ serverless deployment with Javascript,
34
+ - developing a native Windows port.
35
+
36
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
37
+ available online.
38
+
39
+ passagemath attempts to support and provides binary wheels suitable for
40
+ all major Linux distributions and recent versions of macOS.
41
+
42
+ Binary wheels for native Windows (x86_64) are are available for a subset of
43
+ the passagemath distributions. Use of the full functionality of passagemath
44
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
45
+ or virtualization.
46
+
47
+ The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
48
+
49
+
50
+ About this pip-installable distribution package
51
+ -----------------------------------------------
52
+
53
+ This pip-installable source distribution ``passagemath-palp`` provides
54
+ an interface to the `Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html>`__ (PALP)
55
+ by M. Kreuzer and H. Skarke, a set of C programs for calculations
56
+ with lattice polytopes and applications to toric geometry.
57
+
58
+
59
+ What is included
60
+ ----------------
61
+
62
+ - The binary wheels published on PyPI include a prebuilt copy of PALP.
63
+
64
+
65
+ Examples
66
+ --------
67
+
68
+ Using PALP programs on the command line::
69
+
70
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp" sage -sh -c 'echo "14 2 3 4 5" | class.x -f -po zbin'
71
+ 0kR-0 0MB 0kIP 0kNF-0k 5_13 v8r8 f10r10 10b6 0s 0u 0n
72
+ 14 2 3 4 5 R=152 +0sl hit=0 IP=276 NF=179 (0)
73
+ Writing zbin: 152+0sl 0m+0s 644b u36 done: 0s
74
+
75
+ Finding the installation location of a PALP program::
76
+
77
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython
78
+
79
+ In [1]: from sage.features.palp import PalpExecutable
80
+
81
+ In [2]: PalpExecutable("poly", 5).absolute_filename()
82
+ Out[2]: '/Users/mkoeppe/.local/pipx/.cache/db3f5a0e2996f81/lib/python3.11/site-packages/sage_wheels/bin/poly-5d.x'
83
+
84
+ Use with sage.geometry::
85
+
86
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython
87
+
88
+ In [1]: from passagemath_polyhedra import *
89
+
90
+ In [2]: square = lattice_polytope.cross_polytope(2).polar()
91
+
92
+ In [3]: square.points()
93
+ Out[3]:
94
+ N( 1, 1),
95
+ N( 1, -1),
96
+ N(-1, -1),
97
+ N(-1, 1),
98
+ N(-1, 0),
99
+ N( 0, -1),
100
+ N( 0, 0),
101
+ N( 0, 1),
102
+ N( 1, 0)
103
+ in 2-d lattice N
@@ -0,0 +1 @@
1
+ 10.6.41
@@ -0,0 +1,3 @@
1
+ # sage_setup: distribution = sagemath-palp
2
+
3
+ from sage.all__sagemath_palp import *
@@ -1,14 +1,14 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: passagemath-palp
3
- Version: 10.5.21
3
+ Version: 10.6.41
4
4
  Summary: passagemath: Lattice polytopes and applications to toric geometry with PALP
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
7
- License: GNU General Public License (GPL) v2 or later
7
+ License-Expression: GPL-2.0-or-later
8
8
  Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
9
  Project-URL: repo (upstream), https://github.com/sagemath/sage
10
10
  Project-URL: repo, https://github.com/passagemath/passagemath
11
- Project-URL: documentation, https://doc.sagemath.org
11
+ Project-URL: documentation, https://passagemath.org/docs/latest
12
12
  Project-URL: homepage (upstream), https://www.sagemath.org
13
13
  Project-URL: discourse, https://passagemath.discourse.group
14
14
  Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
@@ -16,21 +16,22 @@ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
16
  Classifier: Development Status :: 6 - Mature
17
17
  Classifier: Intended Audience :: Education
18
18
  Classifier: Intended Audience :: Science/Research
19
- Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
20
19
  Classifier: Operating System :: POSIX
20
+ Classifier: Operating System :: POSIX :: Linux
21
21
  Classifier: Operating System :: MacOS :: MacOS X
22
22
  Classifier: Programming Language :: Python :: 3 :: Only
23
- Classifier: Programming Language :: Python :: 3.9
24
23
  Classifier: Programming Language :: Python :: 3.10
25
24
  Classifier: Programming Language :: Python :: 3.11
26
25
  Classifier: Programming Language :: Python :: 3.12
27
26
  Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: 3.14
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
29
  Classifier: Topic :: Scientific/Engineering :: Mathematics
30
- Requires-Python: <3.14,>=3.9
30
+ Requires-Python: <3.15,>=3.10
31
31
  Description-Content-Type: text/x-rst
32
- Requires-Dist: passagemath-environment~=10.5.21.0
33
- Requires-Dist: cysignals==1.12.0rc2
32
+ Requires-Dist: passagemath-environment~=10.6.41.0
33
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
34
+ Requires-Dist: cysignals!=1.12.0,>=1.11.2
34
35
  Provides-Extra: test
35
36
  Requires-Dist: passagemath-polyhedra; extra == "test"
36
37
  Requires-Dist: passagemath-flint; extra == "test"
@@ -41,28 +42,56 @@ Requires-Dist: passagemath-repl; extra == "test"
41
42
  passagemath: Lattice polytopes and applications to toric geometry with PALP
42
43
  ===========================================================================
43
44
 
44
- About SageMath
45
- --------------
46
-
47
- "Creating a Viable Open Source Alternative to
48
- Magma, Maple, Mathematica, and MATLAB"
49
-
50
- Copyright (C) 2005-2024 The Sage Development Team
51
-
52
- https://www.sagemath.org
53
-
54
- SageMath fully supports all major Linux distributions, recent versions of
55
- macOS, and Windows (Windows Subsystem for Linux).
56
-
57
- See https://doc.sagemath.org/html/en/installation/index.html
58
- for general installation instructions.
45
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
46
+ source mathematical software in Python, released under the GNU General
47
+ Public Licence GPLv2+.
48
+
49
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
50
+ developed 2005-2025 under the motto “Creating a Viable Open Source
51
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
52
+
53
+ The passagemath fork uses the motto "Creating a Free Passage Between the
54
+ Scientific Python Ecosystem and Mathematical Software Communities."
55
+ It was created in October 2024 with the following goals:
56
+
57
+ - providing modularized installation with pip,
58
+ - establishing first-class membership in the scientific Python
59
+ ecosystem,
60
+ - giving `clear attribution of upstream
61
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
62
+ - providing independently usable Python interfaces to upstream
63
+ libraries,
64
+ - offering `platform portability and integration testing
65
+ services <https://github.com/passagemath/passagemath/issues/704>`__
66
+ to upstream projects,
67
+ - inviting collaborations with upstream projects,
68
+ - `building a professional, respectful, inclusive
69
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
70
+ - `empowering Sage users to participate in the scientific Python ecosystem
71
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
72
+ - developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
73
+ serverless deployment with Javascript,
74
+ - developing a native Windows port.
75
+
76
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
77
+ available online.
78
+
79
+ passagemath attempts to support and provides binary wheels suitable for
80
+ all major Linux distributions and recent versions of macOS.
81
+
82
+ Binary wheels for native Windows (x86_64) are are available for a subset of
83
+ the passagemath distributions. Use of the full functionality of passagemath
84
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
85
+ or virtualization.
86
+
87
+ The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
59
88
 
60
89
 
61
90
  About this pip-installable distribution package
62
91
  -----------------------------------------------
63
92
 
64
93
  This pip-installable source distribution ``passagemath-palp`` provides
65
- an interface to the `Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html>` (PALP)
94
+ an interface to the `Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html>`__ (PALP)
66
95
  by M. Kreuzer and H. Skarke, a set of C programs for calculations
67
96
  with lattice polytopes and applications to toric geometry.
68
97
 
@@ -96,7 +125,7 @@ Use with sage.geometry::
96
125
 
97
126
  $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython
98
127
 
99
- In [1]: from sage.all__sagemath_polyhedra import *
128
+ In [1]: from passagemath_polyhedra import *
100
129
 
101
130
  In [2]: square = lattice_polytope.cross_polytope(2).polar()
102
131
 
@@ -2,7 +2,9 @@ MANIFEST.in
2
2
  README.rst
3
3
  VERSION.txt
4
4
  pyproject.toml
5
+ repair_wheel.py
5
6
  setup.py
7
+ passagemath_palp/__init__.py
6
8
  passagemath_palp.egg-info/PKG-INFO
7
9
  passagemath_palp.egg-info/SOURCES.txt
8
10
  passagemath_palp.egg-info/dependency_links.txt
@@ -0,0 +1,11 @@
1
+ passagemath-environment~=10.6.41.0
2
+ cysignals!=1.12.0,>=1.11.2
3
+
4
+ [:sys_platform == "win32"]
5
+ cysignals!=1.12.4
6
+
7
+ [test]
8
+ passagemath-polyhedra
9
+ passagemath-flint
10
+ passagemath-pari
11
+ passagemath-repl
@@ -1,13 +1,13 @@
1
- # Generated by SAGE_ROOT/bootstrap; do not edit
2
1
  [build-system]
3
2
  # Minimum requirements for the build system to execute.
4
3
  requires = [
5
- 'setuptools >= 68.1.1',
4
+ 'setuptools >= 77.0.0',
6
5
  'pkgconfig',
7
- 'passagemath-setup ~= 10.5.21.0',
8
- 'passagemath-environment ~= 10.5.21.0',
9
- 'cython >=3.0, != 3.0.3, <4.0', 'cython >=3.0.8,<3.1.0',
10
- 'cysignals ==1.12.0rc2',
6
+ 'passagemath-conf ~= 10.6.41.0 ; sys_platform != "win32"',
7
+ 'passagemath-setup ~= 10.6.41.0',
8
+ 'passagemath-environment ~= 10.6.41.0',
9
+ 'cython >=3.0.8, <3.3.0', 'cython >=3.0.8,<3.3.0',
10
+ 'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
11
11
  ]
12
12
  build-backend = "setuptools.build_meta"
13
13
 
@@ -15,11 +15,11 @@ build-backend = "setuptools.build_meta"
15
15
  name = "passagemath-palp"
16
16
  description = "passagemath: Lattice polytopes and applications to toric geometry with PALP"
17
17
  dependencies = [
18
- 'passagemath-environment ~= 10.5.21.0',
19
- 'cysignals ==1.12.0rc2',
18
+ 'passagemath-environment ~= 10.6.41.0',
19
+ 'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
20
20
  ]
21
21
  dynamic = ["version"]
22
- license = {text = "GNU General Public License (GPL) v2 or later"}
22
+ license = "GPL-2.0-or-later"
23
23
  authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
24
24
  maintainers = [
25
25
  {name = "Matthias Köppe"},
@@ -29,25 +29,25 @@ classifiers = [
29
29
  "Development Status :: 6 - Mature",
30
30
  "Intended Audience :: Education",
31
31
  "Intended Audience :: Science/Research",
32
- "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
33
32
  "Operating System :: POSIX",
33
+ "Operating System :: POSIX :: Linux",
34
34
  "Operating System :: MacOS :: MacOS X",
35
35
  "Programming Language :: Python :: 3 :: Only",
36
- "Programming Language :: Python :: 3.9",
37
36
  "Programming Language :: Python :: 3.10",
38
37
  "Programming Language :: Python :: 3.11",
39
38
  "Programming Language :: Python :: 3.12",
40
39
  "Programming Language :: Python :: 3.13",
40
+ "Programming Language :: Python :: 3.14",
41
41
  "Programming Language :: Python :: Implementation :: CPython",
42
42
  "Topic :: Scientific/Engineering :: Mathematics",
43
43
  ]
44
- requires-python = ">=3.9, <3.14"
44
+ requires-python = ">=3.10, <3.15"
45
45
 
46
46
  [project.urls]
47
47
  "release notes" = "https://github.com/passagemath/passagemath/releases"
48
48
  "repo (upstream)" = "https://github.com/sagemath/sage"
49
49
  "repo" = "https://github.com/passagemath/passagemath"
50
- documentation = "https://doc.sagemath.org"
50
+ documentation = "https://passagemath.org/docs/latest"
51
51
  "homepage (upstream)" = "https://www.sagemath.org"
52
52
  "discourse" = "https://passagemath.discourse.group"
53
53
  "tracker (upstream)" = "https://github.com/sagemath/sage/issues"
@@ -66,18 +66,15 @@ test = [
66
66
  ]
67
67
 
68
68
  [tool.cibuildwheel.linux]
69
- # Unfortunately CIBW_REPAIR_WHEEL_COMMAND does not expand {project} (and other placeholders),
70
- # so there is no clean way to refer to the repair_wheel.py script
71
- # https://github.com/pypa/cibuildwheel/issues/1931
72
69
  repair-wheel-command = [
73
70
  'python3 -m pip install passagemath-conf auditwheel',
74
- 'python3 pkgs/sagemath-palp/repair_wheel.py {wheel}',
71
+ 'python3 {package}/repair_wheel.py {wheel}',
75
72
  'auditwheel repair -w {dest_dir} {wheel}',
76
73
  ]
77
74
  [tool.cibuildwheel.macos]
78
75
  repair-wheel-command = [
79
76
  'python3 -m pip install passagemath-conf auditwheel',
80
- 'python3 pkgs/sagemath-palp/repair_wheel.py {wheel}',
77
+ 'python3 {package}/repair_wheel.py {wheel}',
81
78
  'delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}',
82
79
  ]
83
80
 
@@ -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_conf 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/* --> sage_wheels/bin/*
19
+ with InWheel(wheel, wheel):
20
+ command = f'set -o pipefail; (cd {shlex.quote(SAGE_LOCAL)} && tar cf - --dereference bin/{{class,cws,mori,nef,poly}}*.x) | (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)
@@ -1,3 +1,4 @@
1
1
  # sage_setup: distribution = sagemath-palp
2
+ # delvewheel: patch
2
3
 
3
4
  from sage.all__sagemath_polyhedra import *
@@ -8,4 +8,7 @@ sys.path.insert(0, os.path.dirname(__file__))
8
8
  from sage_setup import sage_setup
9
9
 
10
10
  sage_setup(['sagemath-palp'],
11
- spkgs=['palp'])
11
+ recurse_packages=('sage', 'passagemath_palp'),
12
+ spkgs=['palp'],
13
+ package_data={},
14
+ py_limited_api=True)
@@ -1,75 +0,0 @@
1
- ===========================================================================
2
- passagemath: Lattice polytopes and applications to toric geometry with PALP
3
- ===========================================================================
4
-
5
- About SageMath
6
- --------------
7
-
8
- "Creating a Viable Open Source Alternative to
9
- Magma, Maple, Mathematica, and MATLAB"
10
-
11
- Copyright (C) 2005-2024 The Sage Development Team
12
-
13
- https://www.sagemath.org
14
-
15
- SageMath fully supports all major Linux distributions, recent versions of
16
- macOS, and Windows (Windows Subsystem for Linux).
17
-
18
- See https://doc.sagemath.org/html/en/installation/index.html
19
- for general installation instructions.
20
-
21
-
22
- About this pip-installable distribution package
23
- -----------------------------------------------
24
-
25
- This pip-installable source distribution ``passagemath-palp`` provides
26
- an interface to the `Package for Analyzing Lattice Polytopes <http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html>` (PALP)
27
- by M. Kreuzer and H. Skarke, a set of C programs for calculations
28
- with lattice polytopes and applications to toric geometry.
29
-
30
-
31
- What is included
32
- ----------------
33
-
34
- - The binary wheels published on PyPI include a prebuilt copy of PALP.
35
-
36
-
37
- Examples
38
- --------
39
-
40
- Using PALP programs on the command line::
41
-
42
- $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp" sage -sh -c 'echo "14 2 3 4 5" | class.x -f -po zbin'
43
- 0kR-0 0MB 0kIP 0kNF-0k 5_13 v8r8 f10r10 10b6 0s 0u 0n
44
- 14 2 3 4 5 R=152 +0sl hit=0 IP=276 NF=179 (0)
45
- Writing zbin: 152+0sl 0m+0s 644b u36 done: 0s
46
-
47
- Finding the installation location of a PALP program::
48
-
49
- $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython
50
-
51
- In [1]: from sage.features.palp import PalpExecutable
52
-
53
- In [2]: PalpExecutable("poly", 5).absolute_filename()
54
- Out[2]: '/Users/mkoeppe/.local/pipx/.cache/db3f5a0e2996f81/lib/python3.11/site-packages/sage_wheels/bin/poly-5d.x'
55
-
56
- Use with sage.geometry::
57
-
58
- $ pipx run --pip-args="--prefer-binary" --spec "passagemath-palp[test]" ipython
59
-
60
- In [1]: from sage.all__sagemath_polyhedra import *
61
-
62
- In [2]: square = lattice_polytope.cross_polytope(2).polar()
63
-
64
- In [3]: square.points()
65
- Out[3]:
66
- N( 1, 1),
67
- N( 1, -1),
68
- N(-1, -1),
69
- N(-1, 1),
70
- N(-1, 0),
71
- N( 0, -1),
72
- N( 0, 0),
73
- N( 0, 1),
74
- N( 1, 0)
75
- in 2-d lattice N
@@ -1 +0,0 @@
1
- 10.5.21
@@ -1,8 +0,0 @@
1
- passagemath-environment~=10.5.21.0
2
- cysignals==1.12.0rc2
3
-
4
- [test]
5
- passagemath-polyhedra
6
- passagemath-flint
7
- passagemath-pari
8
- passagemath-repl