passagemath-setup 10.4.29__py3-none-any.whl → 10.4.30__py3-none-any.whl
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.
- {passagemath_setup-10.4.29.dist-info → passagemath_setup-10.4.30.dist-info}/METADATA +1 -1
- {passagemath_setup-10.4.29.dist-info → passagemath_setup-10.4.30.dist-info}/RECORD +5 -5
- sage_setup/__init__.py +19 -7
- {passagemath_setup-10.4.29.dist-info → passagemath_setup-10.4.30.dist-info}/WHEEL +0 -0
- {passagemath_setup-10.4.29.dist-info → passagemath_setup-10.4.30.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
sage_setup/__init__.py,sha256=
|
1
|
+
sage_setup/__init__.py,sha256=8xcAaqvHCVg3rScEV9uui2DIzk6QvJlEFkUUHGqDv0s,6846
|
2
2
|
sage_setup/cython_options.py,sha256=xqwDB-L_Jr8L5IOwjnkUoEWlGKqR_lG8z9qkuFETlIw,1417
|
3
3
|
sage_setup/excepthook.py,sha256=RMZ-rNsSEL9clgLAnXrMnczR6Dzqw3tNeozBzEd1gKM,1040
|
4
4
|
sage_setup/extensions.py,sha256=Zya8xIx24ayuaHx1w8fbbA7tmry2xhSWfMfFh-I0y2o,500
|
@@ -32,7 +32,7 @@ sage_setup/command/sage_build_ext.py,sha256=gND-AnQhP7c_AIvMIJPS1ZRBBeSZyGuDOzoK
|
|
32
32
|
sage_setup/command/sage_build_ext_minimal.py,sha256=ihOR25hbJ6xtxDjv5FqwZhl2-Eq--P9Qy2V-zCgftp8,1328
|
33
33
|
sage_setup/command/sage_build_py.py,sha256=bzuRHXKnhItGMkjYxZ276jHz030B85lq45Bp6shI9Nw,311
|
34
34
|
sage_setup/command/sage_install.py,sha256=MRArCc0exyqJpVpILvgnM-FNZQ1XJzk-AXIvw5Qxp6U,1340
|
35
|
-
passagemath_setup-10.4.
|
36
|
-
passagemath_setup-10.4.
|
37
|
-
passagemath_setup-10.4.
|
38
|
-
passagemath_setup-10.4.
|
35
|
+
passagemath_setup-10.4.30.dist-info/METADATA,sha256=oVMUZSki31SGOBZkSC6JdcwUn5O9UMgoCsU3Li3K2EQ,1288
|
36
|
+
passagemath_setup-10.4.30.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
37
|
+
passagemath_setup-10.4.30.dist-info/top_level.txt,sha256=CNueJfE_I7DXDeFCPmCEMgfqRRZuufTzxVW0sPkbamc,11
|
38
|
+
passagemath_setup-10.4.30.dist-info/RECORD,,
|
sage_setup/__init__.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
def sage_setup(distributions, *,
|
2
2
|
interpreters=(),
|
3
3
|
required_modules=(), optional_modules=(),
|
4
|
+
spkgs=(),
|
4
5
|
recurse_packages=(),
|
5
6
|
package_data=None):
|
6
7
|
r"""
|
@@ -17,6 +18,8 @@ def sage_setup(distributions, *,
|
|
17
18
|
|
18
19
|
- ``optional_modules`` -- sequence of strings, pkgconfig modules to checked for the build.
|
19
20
|
|
21
|
+
- ``spkgs`` -- sequence of strings, SPKGs required for the build.
|
22
|
+
|
20
23
|
- ``package_data`` -- ``None`` or a dictionary mapping package names to lists of filename
|
21
24
|
glob patterns, the package data to install.
|
22
25
|
|
@@ -68,13 +71,6 @@ def sage_setup(distributions, *,
|
|
68
71
|
from sage_setup.excepthook import excepthook
|
69
72
|
sys.excepthook = excepthook
|
70
73
|
|
71
|
-
from sage_setup.setenv import setenv
|
72
|
-
setenv()
|
73
|
-
|
74
|
-
import sage.env
|
75
|
-
sage.env.default_required_modules = required_modules
|
76
|
-
sage.env.default_optional_modules = optional_modules
|
77
|
-
|
78
74
|
cmdclass = dict(build_ext=sage_build_ext_minimal,
|
79
75
|
build_py=sage_build_py)
|
80
76
|
|
@@ -88,6 +84,22 @@ def sage_setup(distributions, *,
|
|
88
84
|
python_modules = []
|
89
85
|
python_packages = []
|
90
86
|
else:
|
87
|
+
|
88
|
+
if spkgs:
|
89
|
+
try:
|
90
|
+
from sage_conf import make
|
91
|
+
except ImportError:
|
92
|
+
pass
|
93
|
+
else:
|
94
|
+
make(" ".join(f"{spkg}-ensure" for spkg in spkgs))
|
95
|
+
|
96
|
+
from sage_setup.setenv import setenv
|
97
|
+
setenv()
|
98
|
+
|
99
|
+
import sage.env
|
100
|
+
sage.env.default_required_modules = required_modules
|
101
|
+
sage.env.default_optional_modules = optional_modules
|
102
|
+
|
91
103
|
if interpreters:
|
92
104
|
log.info("Generating auto-generated sources")
|
93
105
|
# from sage_setup.autogen import autogen_all
|
File without changes
|
File without changes
|