passagemath-setup 10.5.27__tar.gz → 10.5.29__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.
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/PKG-INFO +1 -1
- passagemath_setup-10.5.29/VERSION.txt +1 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/PKG-INFO +1 -1
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/__init__.py +35 -25
- passagemath_setup-10.5.27/VERSION.txt +0 -1
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/README.rst +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/SOURCES.txt +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/dependency_links.txt +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/requires.txt +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/top_level.txt +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/pyproject.toml +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/requirements.txt +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/__init__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/__main__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/README.md +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/__init__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/env.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/acb_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/acb_mat_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/acb_poly_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/arb_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/arb_mat_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/fmpq_mat_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/fmpz_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/fmpz_mat_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/fmpz_poly_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/macros/mag_macros.pxd +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/reader.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/templates/flint_sage.pyx.template +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/templates/flint_wrap.h.template +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/templates/types.pxd.template +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/writer.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint_autogen.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/giacpy-mkkeywords.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/__main__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/__init__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/generator.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/instructions.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/memory.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/__init__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/base.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/cc.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/cdf.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/element.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/python.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/rdf.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/specs/rr.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/storage.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/internal/utils.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/__init__.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_cython.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_ext.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_ext_minimal.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_py.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_install.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/cython_options.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/excepthook.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/extensions.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/find.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/library_order.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/run_parallel.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/setenv.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/util.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/setup.cfg +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/setup.py +0 -0
- {passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/tox.ini +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
10.5.29
|
@@ -3,7 +3,8 @@ def sage_setup(distributions, *,
|
|
3
3
|
required_modules=(), optional_modules=(),
|
4
4
|
spkgs=(),
|
5
5
|
recurse_packages=('sage',),
|
6
|
-
package_data=None
|
6
|
+
package_data=None,
|
7
|
+
cmdclass=None):
|
7
8
|
r"""
|
8
9
|
Replacement for :func:`setuptools.setup` for building distribution packages of the Sage library
|
9
10
|
|
@@ -28,6 +29,8 @@ def sage_setup(distributions, *,
|
|
28
29
|
* If ``None``, all of ``package_data`` is taken from ``pyproject.toml``.
|
29
30
|
|
30
31
|
* If a dictionary, use it as package data and ignore ``package_data`` in ``pyproject.toml``.
|
32
|
+
|
33
|
+
- ``cmdclass` -- ``None`` or a dictionary.
|
31
34
|
"""
|
32
35
|
import time
|
33
36
|
|
@@ -73,8 +76,12 @@ def sage_setup(distributions, *,
|
|
73
76
|
from sage_setup.excepthook import excepthook
|
74
77
|
sys.excepthook = excepthook
|
75
78
|
|
76
|
-
cmdclass
|
77
|
-
|
79
|
+
if cmdclass is None:
|
80
|
+
cmdclass = dict()
|
81
|
+
else:
|
82
|
+
cmdclass = dict(cmdclass)
|
83
|
+
cmdclass.update(dict(build_ext=sage_build_ext_minimal,
|
84
|
+
build_py=sage_build_py))
|
78
85
|
|
79
86
|
sdist = len(sys.argv) > 1 and (sys.argv[1] in ["sdist", "egg_info", "dist_info"])
|
80
87
|
|
@@ -132,28 +139,31 @@ def sage_setup(distributions, *,
|
|
132
139
|
|
133
140
|
log.info(f"Discovered Python/Cython sources, time: {(time.time() - t):.2f} seconds.")
|
134
141
|
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
142
|
+
if cython_modules:
|
143
|
+
# from sage_build_cython:
|
144
|
+
import Cython.Compiler.Options
|
145
|
+
Cython.Compiler.Options.embed_pos_in_docstring = True
|
146
|
+
gdb_debug = os.environ.get('SAGE_DEBUG', None) != 'no'
|
147
|
+
|
148
|
+
try:
|
149
|
+
from Cython.Build import cythonize
|
150
|
+
from sage.env import cython_aliases, sage_include_directories
|
151
|
+
from sage.misc.package_dir import cython_namespace_package_support
|
152
|
+
with cython_namespace_package_support():
|
153
|
+
extensions = cythonize(
|
154
|
+
cython_modules,
|
155
|
+
include_path=sage_include_directories(use_sources=True) + ['.'],
|
156
|
+
compile_time_env=compile_time_env_variables(),
|
157
|
+
compiler_directives=compiler_directives(False),
|
158
|
+
aliases=cython_aliases(),
|
159
|
+
create_extension=create_extension,
|
160
|
+
gdb_debug=gdb_debug,
|
161
|
+
nthreads=4)
|
162
|
+
except Exception as exception:
|
163
|
+
log.warn(f"Exception while cythonizing source files: {repr(exception)}")
|
164
|
+
raise
|
165
|
+
else:
|
166
|
+
extensions = []
|
157
167
|
|
158
168
|
kwds = {}
|
159
169
|
|
@@ -1 +0,0 @@
|
|
1
|
-
10.5.27
|
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/requires.txt
RENAMED
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/passagemath_setup.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/flint/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/giacpy-mkkeywords.py
RENAMED
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/autogen/interpreters/__main__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_cython.py
RENAMED
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_ext.py
RENAMED
File without changes
|
{passagemath_setup-10.5.27 → passagemath_setup-10.5.29}/sage_setup/command/sage_build_ext_minimal.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|