passagemath-gfan 10.5.24__tar.gz → 10.6.46__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-gfan might be problematic. Click here for more details.
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/MANIFEST.in +4 -0
- passagemath_gfan-10.6.46/PKG-INFO +92 -0
- passagemath_gfan-10.6.46/README.rst +55 -0
- passagemath_gfan-10.6.46/VERSION.txt +1 -0
- passagemath_gfan-10.6.46/passagemath_gfan/__init__.py +3 -0
- passagemath_gfan-10.6.46/passagemath_gfan.egg-info/PKG-INFO +92 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/passagemath_gfan.egg-info/SOURCES.txt +2 -0
- passagemath_gfan-10.6.46/passagemath_gfan.egg-info/requires.txt +8 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/pyproject.toml +14 -17
- passagemath_gfan-10.6.46/repair_wheel.py +26 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/all__sagemath_gfan.py +1 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/rings/polynomial/groebner_fan.py +164 -191
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/setup.py +4 -1
- passagemath_gfan-10.5.24/PKG-INFO +0 -63
- passagemath_gfan-10.5.24/README.rst +0 -27
- passagemath_gfan-10.5.24/VERSION.txt +0 -1
- passagemath_gfan-10.5.24/passagemath_gfan.egg-info/PKG-INFO +0 -63
- passagemath_gfan-10.5.24/passagemath_gfan.egg-info/requires.txt +0 -5
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/passagemath_gfan.egg-info/dependency_links.txt +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/passagemath_gfan.egg-info/top_level.txt +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/interfaces/all__sagemath_gfan.py +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/libs/all__sagemath_gfan.py +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/libs/gfan.pyx +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/rings/all__sagemath_gfan.py +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/sage/rings/polynomial/all__sagemath_gfan.py +0 -0
- {passagemath_gfan-10.5.24 → passagemath_gfan-10.6.46}/setup.cfg +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
graft passagemath_gfan
|
|
2
|
+
|
|
1
3
|
prune sage
|
|
2
4
|
|
|
3
5
|
include VERSION.txt
|
|
@@ -11,6 +13,8 @@ global-exclude *.cpp
|
|
|
11
13
|
global-exclude all__sagemath_*.py
|
|
12
14
|
global-include all__sagemath_gfan.py
|
|
13
15
|
|
|
16
|
+
include repair_wheel.py
|
|
17
|
+
|
|
14
18
|
global-exclude __pycache__
|
|
15
19
|
global-exclude *.py[co]
|
|
16
20
|
global-exclude *.bak
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-gfan
|
|
3
|
+
Version: 10.6.46
|
|
4
|
+
Summary: passagemath: Groebner fans and tropical varieties with gfan
|
|
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.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
|
+
Requires-Python: <3.15,>=3.10
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
|
|
33
|
+
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
|
34
|
+
Provides-Extra: test
|
|
35
|
+
Requires-Dist: passagemath-polyhedra; extra == "test"
|
|
36
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
|
37
|
+
|
|
38
|
+
===========================================================
|
|
39
|
+
passagemath: Groebner fans and tropical varieties with gfan
|
|
40
|
+
===========================================================
|
|
41
|
+
|
|
42
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
43
|
+
source mathematical software in Python, released under the GNU General
|
|
44
|
+
Public Licence GPLv2+.
|
|
45
|
+
|
|
46
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
47
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
48
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
49
|
+
|
|
50
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
51
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
52
|
+
It was created in October 2024 with the following goals:
|
|
53
|
+
|
|
54
|
+
- providing modularized installation with pip,
|
|
55
|
+
- establishing first-class membership in the scientific Python
|
|
56
|
+
ecosystem,
|
|
57
|
+
- giving `clear attribution of upstream
|
|
58
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
59
|
+
- providing independently usable Python interfaces to upstream
|
|
60
|
+
libraries,
|
|
61
|
+
- offering `platform portability and integration testing
|
|
62
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
63
|
+
to upstream projects,
|
|
64
|
+
- inviting collaborations with upstream projects,
|
|
65
|
+
- `building a professional, respectful, inclusive
|
|
66
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
67
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
68
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
69
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
70
|
+
serverless deployment with Javascript,
|
|
71
|
+
- developing a native Windows port.
|
|
72
|
+
|
|
73
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
74
|
+
available online.
|
|
75
|
+
|
|
76
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
77
|
+
all major Linux distributions and recent versions of macOS.
|
|
78
|
+
|
|
79
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
80
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
81
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
82
|
+
or virtualization.
|
|
83
|
+
|
|
84
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
About this pip-installable distribution package
|
|
88
|
+
-----------------------------------------------
|
|
89
|
+
|
|
90
|
+
This pip-installable distribution ``passagemath-gfan`` provides an interface to
|
|
91
|
+
`gfan <https://users-math.au.dk/jensen/software/gfan/gfan.html>`_, the package for
|
|
92
|
+
Groebner fans and tropical varieties.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
===========================================================
|
|
2
|
+
passagemath: Groebner fans and tropical varieties with gfan
|
|
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 distribution ``passagemath-gfan`` provides an interface to
|
|
54
|
+
`gfan <https://users-math.au.dk/jensen/software/gfan/gfan.html>`_, the package for
|
|
55
|
+
Groebner fans and tropical varieties.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10.6.46
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-gfan
|
|
3
|
+
Version: 10.6.46
|
|
4
|
+
Summary: passagemath: Groebner fans and tropical varieties with gfan
|
|
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.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
|
+
Requires-Python: <3.15,>=3.10
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
|
|
33
|
+
Requires-Dist: cysignals!=1.12.0,>=1.11.2
|
|
34
|
+
Provides-Extra: test
|
|
35
|
+
Requires-Dist: passagemath-polyhedra; extra == "test"
|
|
36
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
|
37
|
+
|
|
38
|
+
===========================================================
|
|
39
|
+
passagemath: Groebner fans and tropical varieties with gfan
|
|
40
|
+
===========================================================
|
|
41
|
+
|
|
42
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
43
|
+
source mathematical software in Python, released under the GNU General
|
|
44
|
+
Public Licence GPLv2+.
|
|
45
|
+
|
|
46
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
47
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
48
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
49
|
+
|
|
50
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
51
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
52
|
+
It was created in October 2024 with the following goals:
|
|
53
|
+
|
|
54
|
+
- providing modularized installation with pip,
|
|
55
|
+
- establishing first-class membership in the scientific Python
|
|
56
|
+
ecosystem,
|
|
57
|
+
- giving `clear attribution of upstream
|
|
58
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
59
|
+
- providing independently usable Python interfaces to upstream
|
|
60
|
+
libraries,
|
|
61
|
+
- offering `platform portability and integration testing
|
|
62
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
63
|
+
to upstream projects,
|
|
64
|
+
- inviting collaborations with upstream projects,
|
|
65
|
+
- `building a professional, respectful, inclusive
|
|
66
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
67
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
68
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
69
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
70
|
+
serverless deployment with Javascript,
|
|
71
|
+
- developing a native Windows port.
|
|
72
|
+
|
|
73
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
74
|
+
available online.
|
|
75
|
+
|
|
76
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
77
|
+
all major Linux distributions and recent versions of macOS.
|
|
78
|
+
|
|
79
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
80
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
81
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
82
|
+
or virtualization.
|
|
83
|
+
|
|
84
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
About this pip-installable distribution package
|
|
88
|
+
-----------------------------------------------
|
|
89
|
+
|
|
90
|
+
This pip-installable distribution ``passagemath-gfan`` provides an interface to
|
|
91
|
+
`gfan <https://users-math.au.dk/jensen/software/gfan/gfan.html>`_, the package for
|
|
92
|
+
Groebner fans and tropical varieties.
|
|
@@ -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 >=
|
|
4
|
+
'setuptools >= 77.0.0',
|
|
6
5
|
'pkgconfig',
|
|
7
|
-
'passagemath-
|
|
8
|
-
'passagemath-
|
|
9
|
-
'
|
|
10
|
-
'
|
|
6
|
+
'passagemath-conf ~= 10.6.46.0 ; sys_platform != "win32"',
|
|
7
|
+
'passagemath-setup ~= 10.6.46.0',
|
|
8
|
+
'passagemath-environment ~= 10.6.46.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,10 +15,10 @@ build-backend = "setuptools.build_meta"
|
|
|
15
15
|
name = "passagemath-gfan"
|
|
16
16
|
description = "passagemath: Groebner fans and tropical varieties with gfan"
|
|
17
17
|
dependencies = [
|
|
18
|
-
'cysignals ==1.12.
|
|
18
|
+
'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
|
|
19
19
|
]
|
|
20
20
|
dynamic = ["version"]
|
|
21
|
-
license =
|
|
21
|
+
license = "GPL-2.0-or-later"
|
|
22
22
|
authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
|
|
23
23
|
maintainers = [
|
|
24
24
|
{name = "Matthias Köppe"},
|
|
@@ -28,25 +28,25 @@ classifiers = [
|
|
|
28
28
|
"Development Status :: 6 - Mature",
|
|
29
29
|
"Intended Audience :: Education",
|
|
30
30
|
"Intended Audience :: Science/Research",
|
|
31
|
-
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
|
32
31
|
"Operating System :: POSIX",
|
|
32
|
+
"Operating System :: POSIX :: Linux",
|
|
33
33
|
"Operating System :: MacOS :: MacOS X",
|
|
34
34
|
"Programming Language :: Python :: 3 :: Only",
|
|
35
|
-
"Programming Language :: Python :: 3.9",
|
|
36
35
|
"Programming Language :: Python :: 3.10",
|
|
37
36
|
"Programming Language :: Python :: 3.11",
|
|
38
37
|
"Programming Language :: Python :: 3.12",
|
|
39
38
|
"Programming Language :: Python :: 3.13",
|
|
39
|
+
"Programming Language :: Python :: 3.14",
|
|
40
40
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
41
41
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
42
42
|
]
|
|
43
|
-
requires-python = ">=3.
|
|
43
|
+
requires-python = ">=3.10, <3.15"
|
|
44
44
|
|
|
45
45
|
[project.urls]
|
|
46
46
|
"release notes" = "https://github.com/passagemath/passagemath/releases"
|
|
47
47
|
"repo (upstream)" = "https://github.com/sagemath/sage"
|
|
48
48
|
"repo" = "https://github.com/passagemath/passagemath"
|
|
49
|
-
documentation = "https://
|
|
49
|
+
documentation = "https://passagemath.org/docs/latest"
|
|
50
50
|
"homepage (upstream)" = "https://www.sagemath.org"
|
|
51
51
|
"discourse" = "https://passagemath.discourse.group"
|
|
52
52
|
"tracker (upstream)" = "https://github.com/sagemath/sage/issues"
|
|
@@ -63,18 +63,15 @@ test = [
|
|
|
63
63
|
]
|
|
64
64
|
|
|
65
65
|
[tool.cibuildwheel.linux]
|
|
66
|
-
# Unfortunately CIBW_REPAIR_WHEEL_COMMAND does not expand {project} (and other placeholders),
|
|
67
|
-
# so there is no clean way to refer to the repair_wheel.py script
|
|
68
|
-
# https://github.com/pypa/cibuildwheel/issues/1931
|
|
69
66
|
repair-wheel-command = [
|
|
70
67
|
'python3 -m pip install passagemath-conf auditwheel',
|
|
71
|
-
'python3
|
|
68
|
+
'python3 {package}/repair_wheel.py {wheel}',
|
|
72
69
|
'auditwheel repair -w {dest_dir} {wheel}',
|
|
73
70
|
]
|
|
74
71
|
[tool.cibuildwheel.macos]
|
|
75
72
|
repair-wheel-command = [
|
|
76
73
|
'python3 -m pip install passagemath-conf auditwheel',
|
|
77
|
-
'python3
|
|
74
|
+
'python3 {package}/repair_wheel.py {wheel}',
|
|
78
75
|
'delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}',
|
|
79
76
|
]
|
|
80
77
|
|
|
@@ -0,0 +1,26 @@
|
|
|
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/gfan --> sage_wheels/bin/gfan
|
|
19
|
+
# Do not include the symlinks -- they are expanded to copies in the wheel.
|
|
20
|
+
with InWheel(wheel, wheel):
|
|
21
|
+
command = f'set -o pipefail; (cd {shlex.quote(SAGE_LOCAL)} && tar cf - --dereference bin/gfan) | (mkdir -p sage_wheels && cd sage_wheels && tar xvf -)'
|
|
22
|
+
|
|
23
|
+
print(f'Running {command}')
|
|
24
|
+
sys.stdout.flush()
|
|
25
|
+
if os.system(f"bash -c {shlex.quote(command)}") != 0:
|
|
26
|
+
sys.exit(1)
|