passagemath-setup 10.5.10__tar.gz → 10.5.13__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.
Files changed (66) hide show
  1. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/PKG-INFO +1 -1
  2. passagemath_setup-10.5.13/VERSION.txt +1 -0
  3. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/passagemath_setup.egg-info/PKG-INFO +1 -1
  4. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/instructions.py +2 -0
  5. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/memory.py +1 -1
  6. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/cc.py +1 -0
  7. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/storage.py +1 -0
  8. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/command/sage_build_cython.py +1 -0
  9. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/command/sage_build_ext.py +1 -0
  10. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/excepthook.py +1 -0
  11. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/find.py +3 -0
  12. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/run_parallel.py +7 -2
  13. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/setenv.py +2 -0
  14. passagemath_setup-10.5.10/VERSION.txt +0 -1
  15. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/README.rst +0 -0
  16. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/passagemath_setup.egg-info/SOURCES.txt +0 -0
  17. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/passagemath_setup.egg-info/dependency_links.txt +0 -0
  18. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/passagemath_setup.egg-info/requires.txt +0 -0
  19. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/passagemath_setup.egg-info/top_level.txt +0 -0
  20. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/pyproject.toml +0 -0
  21. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/requirements.txt +0 -0
  22. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/__init__.py +0 -0
  23. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/__init__.py +0 -0
  24. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/__main__.py +0 -0
  25. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/README.md +0 -0
  26. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/__init__.py +0 -0
  27. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/env.py +0 -0
  28. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/acb_macros.pxd +0 -0
  29. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/acb_mat_macros.pxd +0 -0
  30. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/acb_poly_macros.pxd +0 -0
  31. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/arb_macros.pxd +0 -0
  32. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/arb_mat_macros.pxd +0 -0
  33. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/fmpq_mat_macros.pxd +0 -0
  34. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/fmpz_macros.pxd +0 -0
  35. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/fmpz_mat_macros.pxd +0 -0
  36. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/fmpz_poly_macros.pxd +0 -0
  37. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/macros/mag_macros.pxd +0 -0
  38. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/reader.py +0 -0
  39. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/templates/flint_sage.pyx.template +0 -0
  40. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/templates/flint_wrap.h.template +0 -0
  41. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/templates/types.pxd.template +0 -0
  42. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint/writer.py +0 -0
  43. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/flint_autogen.py +0 -0
  44. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/giacpy-mkkeywords.py +0 -0
  45. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/__main__.py +0 -0
  46. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/__init__.py +0 -0
  47. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/generator.py +0 -0
  48. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/__init__.py +0 -0
  49. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/base.py +0 -0
  50. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/cdf.py +0 -0
  51. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/element.py +0 -0
  52. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/python.py +0 -0
  53. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/rdf.py +0 -0
  54. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/specs/rr.py +0 -0
  55. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/autogen/interpreters/internal/utils.py +0 -0
  56. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/command/__init__.py +0 -0
  57. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/command/sage_build_ext_minimal.py +0 -0
  58. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/command/sage_build_py.py +0 -0
  59. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/command/sage_install.py +0 -0
  60. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/cython_options.py +0 -0
  61. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/extensions.py +0 -0
  62. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/library_order.py +0 -0
  63. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/sage_setup/util.py +0 -0
  64. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/setup.cfg +0 -0
  65. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/setup.py +0 -0
  66. {passagemath_setup-10.5.10 → passagemath_setup-10.5.13}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-setup
3
- Version: 10.5.10
3
+ Version: 10.5.13
4
4
  Summary: passagemath: Build system of the Sage library
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  License: GNU General Public License (GPL) v2 or later
@@ -0,0 +1 @@
1
+ 10.5.13
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-setup
3
- Version: 10.5.10
3
+ Version: 10.5.13
4
4
  Summary: passagemath: Build system of the Sage library
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  License: GNU General Public License (GPL) v2 or later
@@ -385,6 +385,7 @@ def instr_funcall_1arg_mpfr(name, io, op):
385
385
  """
386
386
  return InstrSpec(name, io, code='%s(o0, i0, MPFR_RNDN);' % op)
387
387
 
388
+
388
389
  def instr_funcall_2args_mpc(name, io, op):
389
390
  r"""
390
391
  A helper function for creating MPC instructions with two inputs
@@ -400,6 +401,7 @@ def instr_funcall_2args_mpc(name, io, op):
400
401
  """
401
402
  return InstrSpec(name, io, code='%s(o0, i0, i1, MPC_RNDNN);' % op)
402
403
 
404
+
403
405
  def instr_funcall_1arg_mpc(name, io, op):
404
406
  r"""
405
407
  A helper function for creating MPC instructions with one input
@@ -36,7 +36,7 @@ def string_of_addr(a):
36
36
  """
37
37
  if isinstance(a, int):
38
38
  return str(a)
39
- assert(isinstance(a, MemoryChunk))
39
+ assert isinstance(a, MemoryChunk)
40
40
  return '*%s++' % a.name
41
41
 
42
42
 
@@ -101,6 +101,7 @@ class MemoryChunkCCRetval(MemoryChunk):
101
101
  """
102
102
  return "result"
103
103
 
104
+
104
105
  class CCInterpreter(StackInterpreter):
105
106
  r"""
106
107
  A subclass of StackInterpreter, specifying an interpreter over
@@ -852,6 +852,7 @@ class StorageTypeMPFR(StorageTypeAutoReference):
852
852
 
853
853
  ty_mpfr = StorageTypeMPFR()
854
854
 
855
+
855
856
  class StorageTypeMPC(StorageTypeAutoReference):
856
857
  r"""
857
858
  StorageTypeMPC is a subtype of StorageTypeAutoReference that deals
@@ -49,6 +49,7 @@ DEVEL = False
49
49
  if DEVEL:
50
50
  extra_compile_args.append('-ggdb')
51
51
 
52
+
52
53
  class sage_build_cython(Command):
53
54
  name = 'build_cython'
54
55
  description = "compile Cython extensions into C/C++ extensions"
@@ -15,6 +15,7 @@ except ImportError:
15
15
  from distutils.errors import DistutilsSetupError
16
16
  from sage_setup.run_parallel import execute_list_of_commands
17
17
 
18
+
18
19
  class sage_build_ext(build_ext):
19
20
  def finalize_options(self):
20
21
  build_ext.finalize_options(self)
@@ -1,6 +1,7 @@
1
1
  import os
2
2
  import sys
3
3
 
4
+
4
5
  def excepthook(*exc):
5
6
  """
6
7
  When an error occurs, display an error message similar to the error
@@ -172,6 +172,7 @@ def find_python_sources(src_dir, modules=['sage'], distributions=None,
172
172
  os.chdir(cwd)
173
173
  return python_packages, python_modules, cython_modules
174
174
 
175
+
175
176
  def filter_cython_sources(src_dir, distributions, exclude_distributions=None):
176
177
  """
177
178
  Find all Cython modules in the given source directory that belong to the
@@ -221,6 +222,7 @@ def filter_cython_sources(src_dir, distributions, exclude_distributions=None):
221
222
 
222
223
  return files
223
224
 
225
+
224
226
  def _cythonized_dir(src_dir=None, editable_install=None):
225
227
  """
226
228
  Return the path where Cython-generated files are placed by the build system.
@@ -343,6 +345,7 @@ def find_extra_files(src_dir, modules, cythonized_dir, special_filenames=[], *,
343
345
 
344
346
  return data_files
345
347
 
348
+
346
349
  def installed_files_by_module(site_packages, modules=('sage',)):
347
350
  """
348
351
  Find all currently installed files
@@ -22,6 +22,7 @@ import time
22
22
 
23
23
  keep_going = False
24
24
 
25
+
25
26
  def run_command(cmd):
26
27
  """
27
28
  INPUT:
@@ -35,6 +36,7 @@ def run_command(cmd):
35
36
  sys.stdout.flush()
36
37
  return os.system(cmd)
37
38
 
39
+
38
40
  def apply_func_progress(p):
39
41
  """
40
42
  Given a triple p consisting of a function, value and a string,
@@ -49,6 +51,7 @@ def apply_func_progress(p):
49
51
  sys.stdout.flush()
50
52
  return p[0](p[1])
51
53
 
54
+
52
55
  def execute_list_of_commands_in_parallel(command_list, nthreads):
53
56
  """
54
57
  Execute the given list of commands, possibly in parallel, using
@@ -83,6 +86,7 @@ def execute_list_of_commands_in_parallel(command_list, nthreads):
83
86
  pool.join()
84
87
  process_command_results(result)
85
88
 
89
+
86
90
  def process_command_results(result_values):
87
91
  error = None
88
92
  for r in result_values:
@@ -94,6 +98,7 @@ def process_command_results(result_values):
94
98
  if error:
95
99
  sys.exit(1)
96
100
 
101
+
97
102
  def execute_list_of_commands(command_list):
98
103
  """
99
104
  INPUT:
@@ -124,10 +129,10 @@ def execute_list_of_commands(command_list):
124
129
  nthreads = min(len(command_list), nthreads)
125
130
  nthreads = max(1, nthreads)
126
131
 
127
- def plural(n,noun):
132
+ def plural(n, noun):
128
133
  if n == 1:
129
134
  return "1 %s" % noun
130
- return "%i %ss" % (n,noun)
135
+ return "%i %ss" % (n, noun)
131
136
 
132
137
  print("Executing %s (using %s)" % (plural(len(command_list),"command"), plural(nthreads,"thread")))
133
138
  execute_list_of_commands_in_parallel(command_list, nthreads)
@@ -4,6 +4,7 @@ import os
4
4
  import platform
5
5
  from pathlib import Path
6
6
 
7
+
7
8
  def _environ_prepend(var, value, separator=':'):
8
9
  if value:
9
10
  if var in os.environ:
@@ -11,6 +12,7 @@ def _environ_prepend(var, value, separator=':'):
11
12
  else:
12
13
  os.environ[var] = value
13
14
 
15
+
14
16
  def setenv():
15
17
  from sage.env import SAGE_LOCAL, SAGE_VENV, SAGE_ARCHFLAGS, SAGE_PKG_CONFIG_PATH
16
18
 
@@ -1 +0,0 @@
1
- 10.5.10