passagemath-environment 10.4.47__py3-none-any.whl → 10.4.52__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.
@@ -168,9 +168,12 @@ if [ -f "${SELF}-src-env-config" ]; then
168
168
  SAGE_SRC_ENV_CONFIG=1
169
169
  . "${SELF}-src-env-config" >&2
170
170
  fi
171
- if [ -z "$SAGE_VENV" -a -x "${SELF}-venv-config" ]; then
171
+ if [ -x "${SELF}-venv-config" ]; then
172
172
  # installed by setup.py
173
- export SAGE_VENV=$("${SELF}-venv-config" SAGE_VENV)
173
+ if [ -z "$SAGE_VENV" ]; then
174
+ export SAGE_VENV=$("${SELF}-venv-config" SAGE_VENV)
175
+ fi
176
+ SAGE_WHEELS_PATH=$("${SELF}-venv-config" SAGE_WHEELS_PATH)
174
177
  fi
175
178
  if [ -f "${SELF}-env-config" ]; then
176
179
  # As of Issue #22731, sage-env-config is optional.
@@ -257,6 +257,9 @@ fi
257
257
  if [ -n "$SAGE_VENV" ]; then
258
258
  export PATH="$SAGE_VENV/bin:$PATH"
259
259
  fi
260
+ if [ -n "$SAGE_WHEELS_PATH" ]; then
261
+ export PATH="$SAGE_WHEELS_PATH:$PATH"
262
+ fi
260
263
  if [ -d "$SAGE_ROOT" ]; then
261
264
  export PATH="$SAGE_ROOT/build/bin:$PATH"
262
265
  fi
@@ -22,6 +22,16 @@ try:
22
22
  except ImportError:
23
23
  pass
24
24
 
25
+
26
+ try:
27
+ import sage_wheels
28
+ except ImportError:
29
+ pass
30
+ else:
31
+ import os as _os
32
+ SAGE_WHEELS_PATH = ':'.join(_os.path.join(p, 'bin') for p in sage_wheels.__path__)
33
+
34
+
25
35
  def _main():
26
36
  from argparse import ArgumentParser
27
37
  from sys import exit, stdout
@@ -4,6 +4,6 @@
4
4
  # which stops "setup.py develop" from rewriting it as a Python file.
5
5
  :
6
6
  # This file is auto-generated by the sage-update-version script, do not edit!
7
- SAGE_VERSION='10.4.47'
8
- SAGE_RELEASE_DATE='2024-11-06'
9
- SAGE_VERSION_BANNER='passagemath version 10.4.47, Release Date: 2024-11-06'
7
+ SAGE_VERSION='10.4.52'
8
+ SAGE_RELEASE_DATE='2024-11-08'
9
+ SAGE_VERSION_BANNER='passagemath version 10.4.52, Release Date: 2024-11-08'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-environment
3
- Version: 10.4.47
3
+ Version: 10.4.52
4
4
  Summary: passagemath: System and software environment
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
@@ -29,20 +29,20 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
29
29
  Requires-Python: <3.13,>=3.9
30
30
  Description-Content-Type: text/x-rst
31
31
  Provides-Extra: conf
32
- Requires-Dist: passagemath-conf~=10.4.47.0; extra == "conf"
32
+ Requires-Dist: passagemath-conf~=10.4.52.0; extra == "conf"
33
33
  Provides-Extra: cython
34
34
  Requires-Dist: cython!=3.0.3,<4.0,>=3.0; extra == "cython"
35
35
  Requires-Dist: cython<3.1.0,>=3.0.8; extra == "cython"
36
36
  Provides-Extra: docbuild
37
- Requires-Dist: passagemath-docbuild~=10.4.47.0; extra == "docbuild"
37
+ Requires-Dist: passagemath-docbuild~=10.4.52.0; extra == "docbuild"
38
38
  Provides-Extra: pytest
39
39
  Requires-Dist: pytest; extra == "pytest"
40
40
  Provides-Extra: rst2ipynb
41
41
  Requires-Dist: rst2ipynb>=0.2.2; extra == "rst2ipynb"
42
42
  Provides-Extra: sage
43
- Requires-Dist: passagemath-standard~=10.4.47.0; extra == "sage"
43
+ Requires-Dist: passagemath-standard~=10.4.52.0; extra == "sage"
44
44
  Provides-Extra: sws2rst
45
- Requires-Dist: passagemath-sws2rst~=10.4.47.0; extra == "sws2rst"
45
+ Requires-Dist: passagemath-sws2rst~=10.4.52.0; extra == "sws2rst"
46
46
  Provides-Extra: tox
47
47
  Requires-Dist: tox>=4.11; extra == "tox"
48
48
 
@@ -1,12 +1,12 @@
1
- passagemath_environment-10.4.47.data/scripts/sage,sha256=kXEjQRMowRDrarhh4vE-lKFm3156AHN5eXVu2nS-eJg,43267
2
- passagemath_environment-10.4.47.data/scripts/sage-env,sha256=Q54ksJV-D6VBUFIeIqAiT8tktkzAEzi_wUpRuC23ITU,23221
3
- passagemath_environment-10.4.47.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
- passagemath_environment-10.4.47.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
- passagemath_environment-10.4.47.data/scripts/sage-venv-config,sha256=4C_dvQRTdnp6H4Qs5TT1WvNuk0fGEnXkc0eGCdVDsNY,1197
6
- passagemath_environment-10.4.47.data/scripts/sage-version.sh,sha256=E2T8k6ME4BBHZOFkA2_5j5Rp4FVdI9eI9x7Pw27URmA,403
1
+ passagemath_environment-10.4.52.data/scripts/sage,sha256=1wBJj1KSiLkBtjqU2Uh6yNRLKPThtk9dGe6uLaB_Xog,43355
2
+ passagemath_environment-10.4.52.data/scripts/sage-env,sha256=jW_ZPd3IL6fLTXVT08ZCMvP0PLseo1QM-bb5gV5fPhc,23302
3
+ passagemath_environment-10.4.52.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
+ passagemath_environment-10.4.52.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
+ passagemath_environment-10.4.52.data/scripts/sage-venv-config,sha256=XeQOA2wIaIfUaEf9aPFUMQvr2s-aKKSLaBZORoSpP3Y,1371
6
+ passagemath_environment-10.4.52.data/scripts/sage-version.sh,sha256=Q-zKi7vnotBHtif4ZEeLb-bnwt5qqmgMuqRldiWd7Cg,403
7
7
  sage/all__sagemath_environment.py,sha256=d44XIAz0tXfPdQxa3dGJvF2WEf6stMQxLUFL0GC1Sv4,188
8
- sage/env.py,sha256=iLbmPwPXkfvVw7pcCDa4MEWpesvkxBZBbaBrB4jheL8,18179
9
- sage/version.py,sha256=gYQrul9S6PQybZYi3YUrSlu-o8swub-FS8ltNVePZ3Q,279
8
+ sage/env.py,sha256=0dhFjB-Na_VTm44PkiPaFqkUp_4csT3ynmjSp9RH1S0,18532
9
+ sage/version.py,sha256=u5H-7ircupuI9BRICy0GGzD9fCB2EqbhkR0VxC9n_8w,279
10
10
  sage/features/__init__.py,sha256=xBqjHj-K85olQ5HVmNq1oSPn2W9ol1a1-FjElSb0sGQ,36977
11
11
  sage/features/all.py,sha256=6YQEvdLvw6Ipb0u-PLsB97wWnHj28qBYoz3fGbgrFmg,4236
12
12
  sage/features/bliss.py,sha256=SeLzXDEH30tgup593E42VJGGpR2gpRRI4lBt0ufCaGc,2447
@@ -20,6 +20,7 @@ sage/features/ecm.py,sha256=qMnrunufXVKz104N-eY_3fy4Sgdzd0ohs1kXOeHvXFI,1313
20
20
  sage/features/ffmpeg.py,sha256=wtJL6t56Oe1D4k1ChZjZ6LP_kx3pGPOFkYCjvr28JPM,4762
21
21
  sage/features/four_ti_2.py,sha256=fKuKtWscuOCF4T1v8iNAlkRxSfyfp_1M-W4l9xaG6gg,1723
22
22
  sage/features/fricas.py,sha256=bhHt-RDXipIISzHvdkvMwGPOzC-qpD9eDIxSlkyW624,2333
23
+ sage/features/frobby.py,sha256=ZI2uRKNDrRhbXedQizYdl4ERJ1kVNRg-sm98lZwOA3E,1276
23
24
  sage/features/gap.py,sha256=DsJciQ5FIlYXkIGKtfxdag5vyl9Gei8aZJg7C3N7vjM,3374
24
25
  sage/features/gfan.py,sha256=KTLsGqregD8zzIRtfzJva40lFbPJLyLFzVXwJb5jqdE,1187
25
26
  sage/features/giac.py,sha256=N4OflOOBhAy3eRDQsq-qt50sBfjKQS4TvWnQmr4oYaw,776
@@ -35,6 +36,7 @@ sage/features/kenzo.py,sha256=sHqSeagK7_p0RmSjQ8q-1kxIRxRsNa7jFSexAsr80Ks,2672
35
36
  sage/features/latex.py,sha256=pyj57wpTfdTXFFsbIxr6OuOl0j5Sg1CrU_ZhxLIeLsI,9616
36
37
  sage/features/latte.py,sha256=lmVKos8_f9UJjU1nSVuAWURM80fsYIv1n1do-5pCbd4,2787
37
38
  sage/features/lrs.py,sha256=ru_VDo0Y6am54FQd9zqanhqoXnZXP2hudnkjD9GNNlI,5963
39
+ sage/features/macaulay2.py,sha256=RqWGN2aXZyoGrMS9tfEtGVk-Fek91jeceY0SrR6WQCk,1320
38
40
  sage/features/mcqd.py,sha256=GfllBC9A170B0z64bE3AZ9yLfUF8aTdQDgGhRwCnYGc,1397
39
41
  sage/features/meataxe.py,sha256=9uYHmPzED2RGmK5ge56zJlnHDhKVQidPEbxLThSdiaw,1458
40
42
  sage/features/mip_backends.py,sha256=vnTIYLCUy0XoM93OepBDl3cejJsMooLwRszO-3xAswg,3952
@@ -65,7 +67,7 @@ sage/misc/package.py,sha256=xZF5iijW69X9DblpnLcYXQiRdjE7Uhu1MJ5eeq12T9o,19191
65
67
  sage/misc/package_dir.py,sha256=zzL-ASJSn8oX_gejqMrHrTfesVt31vAp3g-ouZKiOks,26899
66
68
  sage/misc/temporary_file.py,sha256=Z-0blAIrU1MAdpl3z8M_6n7-zj4Ac3NA-ULSIIKmCWU,19138
67
69
  sage/misc/viewer.py,sha256=T7DRgW07qYcKQPJ0nG-N1KoVRHz3xrL7LxkVAZ7dvOo,11554
68
- passagemath_environment-10.4.47.dist-info/METADATA,sha256=KFpCJI8Bz0HU4B21o7nu_7zVf3nGSZKAqZgWPnuJKqQ,4126
69
- passagemath_environment-10.4.47.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
70
- passagemath_environment-10.4.47.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
71
- passagemath_environment-10.4.47.dist-info/RECORD,,
70
+ passagemath_environment-10.4.52.dist-info/METADATA,sha256=piphLuo4Z71pg2I72F3VG2S83IVW1agqV-zSzURw0hw,4126
71
+ passagemath_environment-10.4.52.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
72
+ passagemath_environment-10.4.52.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
73
+ passagemath_environment-10.4.52.dist-info/RECORD,,
sage/env.py CHANGED
@@ -231,6 +231,21 @@ PPLPY_DOCS = var("PPLPY_DOCS", join(SAGE_SHARE, "doc", "pplpy"))
231
231
  MAXIMA = var("MAXIMA", "maxima")
232
232
  MAXIMA_FAS = var("MAXIMA_FAS")
233
233
  KENZO_FAS = var("KENZO_FAS")
234
+ try:
235
+ import ecl
236
+ except ImportError:
237
+ pass
238
+ else:
239
+ for p in ecl.__path__:
240
+ fas = os.path.join(p, 'maxima.fas')
241
+ if os.path.exists(fas):
242
+ MAXIMA_FAS = fas
243
+ break
244
+ for p in ecl.__path__:
245
+ fas = os.path.join(p, 'kenzo.fas')
246
+ if os.path.exists(fas):
247
+ KENZO_FAS = fas
248
+ break
234
249
  SAGE_NAUTY_BINS_PREFIX = var("SAGE_NAUTY_BINS_PREFIX", "")
235
250
  SAGE_ECMBIN = var("SAGE_ECMBIN", "ecm")
236
251
  RUBIKS_BINS_PREFIX = var("RUBIKS_BINS_PREFIX", "")
@@ -0,0 +1,42 @@
1
+ # sage_setup: distribution = sagemath-environment
2
+ r"""
3
+ Feature for testing the presence of FROBBY
4
+ """
5
+
6
+ # *****************************************************************************
7
+ # Copyright (C) 2024 Matthias Koeppe
8
+ #
9
+ # Distributed under the terms of the GNU General Public License (GPL)
10
+ # as published by the Free Software Foundation; either version 2 of
11
+ # the License, or (at your option) any later version.
12
+ # https://www.gnu.org/licenses/
13
+ # *****************************************************************************
14
+
15
+ import subprocess
16
+ from . import Executable
17
+ from . import FeatureTestResult
18
+
19
+ class Frobby(Executable):
20
+ r"""
21
+ A :class:`~sage.features.Feature` describing the presence of :ref:`frobby <spkg_frobby>`.
22
+
23
+ EXAMPLES::
24
+
25
+ sage: from sage.features.frobby import Frobby
26
+ sage: Frobby().is_present() # optional - frobby
27
+ FeatureTestResult('frobby', True)
28
+ """
29
+ def __init__(self):
30
+ r"""
31
+ TESTS::
32
+
33
+ sage: from sage.features.frobby import frobby
34
+ sage: isinstance(frobby(), frobby)
35
+ True
36
+ """
37
+ Executable.__init__(self, "frobby", executable='frobby',
38
+ spkg='frobby')
39
+
40
+
41
+ def all_features():
42
+ return [Frobby()]
@@ -0,0 +1,42 @@
1
+ # sage_setup: distribution = sagemath-environment
2
+ r"""
3
+ Feature for testing the presence of MACAULAY2
4
+ """
5
+
6
+ # *****************************************************************************
7
+ # Copyright (C) 2024 Matthias Koeppe
8
+ #
9
+ # Distributed under the terms of the GNU General Public License (GPL)
10
+ # as published by the Free Software Foundation; either version 2 of
11
+ # the License, or (at your option) any later version.
12
+ # https://www.gnu.org/licenses/
13
+ # *****************************************************************************
14
+
15
+ import subprocess
16
+ from . import Executable
17
+ from . import FeatureTestResult
18
+
19
+ class Macaulay2(Executable):
20
+ r"""
21
+ A :class:`~sage.features.Feature` describing the presence of :ref:`macaulay2 <spkg_macaulay2>`.
22
+
23
+ EXAMPLES::
24
+
25
+ sage: from sage.features.macaulay2 import Macaulay2
26
+ sage: Macaulay2().is_present() # optional - macaulay2
27
+ FeatureTestResult('macaulay2', True)
28
+ """
29
+ def __init__(self):
30
+ r"""
31
+ TESTS::
32
+
33
+ sage: from sage.features.macaulay2 import macaulay2
34
+ sage: isinstance(macaulay2(), macaulay2)
35
+ True
36
+ """
37
+ Executable.__init__(self, "macaulay2", executable='M2',
38
+ spkg='macaulay2')
39
+
40
+
41
+ def all_features():
42
+ return [Macaulay2()]
sage/version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # sage_setup: distribution = sagemath-environment
2
2
  # Sage version information for Python scripts
3
3
  # This file is auto-generated by the sage-update-version script, do not edit!
4
- version = '10.4.47'
5
- date = '2024-11-06'
6
- banner = 'passagemath version 10.4.47, Release Date: 2024-11-06'
4
+ version = '10.4.52'
5
+ date = '2024-11-08'
6
+ banner = 'passagemath version 10.4.52, Release Date: 2024-11-08'