passagemath-environment 10.4.45__py3-none-any.whl → 10.4.50__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.45'
8
- SAGE_RELEASE_DATE='2024-11-06'
9
- SAGE_VERSION_BANNER='passagemath version 10.4.45, Release Date: 2024-11-06'
7
+ SAGE_VERSION='10.4.50'
8
+ SAGE_RELEASE_DATE='2024-11-07'
9
+ SAGE_VERSION_BANNER='passagemath version 10.4.50, Release Date: 2024-11-07'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-environment
3
- Version: 10.4.45
3
+ Version: 10.4.50
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.45.0; extra == "conf"
32
+ Requires-Dist: passagemath-conf~=10.4.50.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.45.0; extra == "docbuild"
37
+ Requires-Dist: passagemath-docbuild~=10.4.50.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.45.0; extra == "sage"
43
+ Requires-Dist: passagemath-standard~=10.4.50.0; extra == "sage"
44
44
  Provides-Extra: sws2rst
45
- Requires-Dist: passagemath-sws2rst~=10.4.45.0; extra == "sws2rst"
45
+ Requires-Dist: passagemath-sws2rst~=10.4.50.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.45.data/scripts/sage,sha256=kXEjQRMowRDrarhh4vE-lKFm3156AHN5eXVu2nS-eJg,43267
2
- passagemath_environment-10.4.45.data/scripts/sage-env,sha256=Q54ksJV-D6VBUFIeIqAiT8tktkzAEzi_wUpRuC23ITU,23221
3
- passagemath_environment-10.4.45.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
- passagemath_environment-10.4.45.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
- passagemath_environment-10.4.45.data/scripts/sage-venv-config,sha256=4C_dvQRTdnp6H4Qs5TT1WvNuk0fGEnXkc0eGCdVDsNY,1197
6
- passagemath_environment-10.4.45.data/scripts/sage-version.sh,sha256=5FxBKQGZCDkGLUo61I2ExFPznlZ9BAIcxQ48unnc6sE,403
1
+ passagemath_environment-10.4.50.data/scripts/sage,sha256=1wBJj1KSiLkBtjqU2Uh6yNRLKPThtk9dGe6uLaB_Xog,43355
2
+ passagemath_environment-10.4.50.data/scripts/sage-env,sha256=jW_ZPd3IL6fLTXVT08ZCMvP0PLseo1QM-bb5gV5fPhc,23302
3
+ passagemath_environment-10.4.50.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
+ passagemath_environment-10.4.50.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
+ passagemath_environment-10.4.50.data/scripts/sage-venv-config,sha256=XeQOA2wIaIfUaEf9aPFUMQvr2s-aKKSLaBZORoSpP3Y,1371
6
+ passagemath_environment-10.4.50.data/scripts/sage-version.sh,sha256=9GXFAycr_jUc2m5jtxf-zGgp5SSjkgQDV0ndbFR-3kQ,403
7
7
  sage/all__sagemath_environment.py,sha256=d44XIAz0tXfPdQxa3dGJvF2WEf6stMQxLUFL0GC1Sv4,188
8
- sage/env.py,sha256=vfWTO4hiCiYT0jYZqpTMIvyd_xpb53Kx973nMMb8iNg,18127
9
- sage/version.py,sha256=cVtEtwbJzkOma3YZ6Hn-gAT0hOQ9W8eR-GNqHq_hwrg,279
8
+ sage/env.py,sha256=0dhFjB-Na_VTm44PkiPaFqkUp_4csT3ynmjSp9RH1S0,18532
9
+ sage/version.py,sha256=AhcVArnxEvoRDU7-TYSgucEII2GBfvJjftHzGyWLn2c,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
@@ -48,6 +48,7 @@ sage/features/phitigra.py,sha256=VBWeUOd4lJTUr-M9IDJE2SkoUsHmtyD3N3fNDVQDf8c,129
48
48
  sage/features/pkg_systems.py,sha256=GOyVswRAAFqQ_oSZOZz-IA51c7a4N77tnQkfZ69xukY,6995
49
49
  sage/features/polymake.py,sha256=Ix2qM0izHhBFa-IGTWjcbW9ofutbRP6FTL5p4buSgPU,1429
50
50
  sage/features/poppler.py,sha256=hNdYa03BxYYiFTk70RAzJtCYxp0VEjGqrWMDpDosp5w,2231
51
+ sage/features/qepcad.py,sha256=YzWM-bkLi12dQKMKhVv_ZF_13eoBoQjidzky3YWKnJE,1276
51
52
  sage/features/rubiks.py,sha256=8N54u2kShVqke1eRjLHBwqkENgc3vvfspI3h5gkPNKw,5261
52
53
  sage/features/sagemath.py,sha256=9t6cnbB0A3y-rwkoVEHXbLIQ8-HaM1fpKt2ES0WcqJ8,55171
53
54
  sage/features/sat.py,sha256=XJXQPFU9PQRDwXVezC9j3iRJoDQSkWsI2b8F_fNNagk,2951
@@ -64,7 +65,7 @@ sage/misc/package.py,sha256=xZF5iijW69X9DblpnLcYXQiRdjE7Uhu1MJ5eeq12T9o,19191
64
65
  sage/misc/package_dir.py,sha256=zzL-ASJSn8oX_gejqMrHrTfesVt31vAp3g-ouZKiOks,26899
65
66
  sage/misc/temporary_file.py,sha256=Z-0blAIrU1MAdpl3z8M_6n7-zj4Ac3NA-ULSIIKmCWU,19138
66
67
  sage/misc/viewer.py,sha256=T7DRgW07qYcKQPJ0nG-N1KoVRHz3xrL7LxkVAZ7dvOo,11554
67
- passagemath_environment-10.4.45.dist-info/METADATA,sha256=wcebMVCmiBY85wEY4ZwoQpQiyg2CZefZ4I9afzhs2gA,4126
68
- passagemath_environment-10.4.45.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
69
- passagemath_environment-10.4.45.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
70
- passagemath_environment-10.4.45.dist-info/RECORD,,
68
+ passagemath_environment-10.4.50.dist-info/METADATA,sha256=3yvXiU3iIz5iq1BXPESQgFPBgNTra3RifCzRaDMtiY0,4126
69
+ passagemath_environment-10.4.50.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
70
+ passagemath_environment-10.4.50.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
71
+ passagemath_environment-10.4.50.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", "")
@@ -308,7 +323,7 @@ def sage_include_directories(use_sources=False):
308
323
  Expected output while using Sage::
309
324
 
310
325
  sage: import sage.env
311
- sage: sage.env.sage_include_directories()
326
+ sage: sage.env.sage_include_directories() # needs numpy
312
327
  ['...',
313
328
  '.../numpy/...core/include',
314
329
  '.../include/python...']
@@ -0,0 +1,42 @@
1
+ # sage_setup: distribution = sagemath-environment
2
+ r"""
3
+ Feature for testing the presence of QEPCAD
4
+ """
5
+
6
+ # *****************************************************************************
7
+ # Copyright (C) 2022 Marc Mezzarobba
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 Qepcad(Executable):
20
+ r"""
21
+ A :class:`~sage.features.Feature` describing the presence of :ref:`qepcad <spkg_qepcad>`.
22
+
23
+ EXAMPLES::
24
+
25
+ sage: from sage.features.qepcad import Qepcad
26
+ sage: Qepcad().is_present() # optional - qepcad
27
+ FeatureTestResult('qepcad', True)
28
+ """
29
+ def __init__(self):
30
+ r"""
31
+ TESTS::
32
+
33
+ sage: from sage.features.qepcad import qepcad
34
+ sage: isinstance(qepcad(), qepcad)
35
+ True
36
+ """
37
+ Executable.__init__(self, "qepcad", executable='qepcad',
38
+ spkg='qepcad')
39
+
40
+
41
+ def all_features():
42
+ return [Qepcad()]
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.45'
5
- date = '2024-11-06'
6
- banner = 'passagemath version 10.4.45, Release Date: 2024-11-06'
4
+ version = '10.4.50'
5
+ date = '2024-11-07'
6
+ banner = 'passagemath version 10.4.50, Release Date: 2024-11-07'