Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ jobs:
- "src/sage/[a-f]*"
- "src/sage/[g-o]*"
- "src/sage/[p-z]*"
- "src/doc src/sage_docbuild src/sage_setup"
- "src/doc src/sage_docbuild"
steps:
- name: Maximize build disk space
uses: easimon/maximize-build-space@v10
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
shell: bash -l {0}
run: |
# Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda.
pip install --no-build-isolation --no-deps --config-settings editable_mode=compat -v -v -e ./pkgs/sage-setup
pip install --no-build-isolation --no-deps --config-settings editable_mode=compat -v -v -e ./src
env:
SAGE_NUM_THREADS: 5
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ jobs:
- name: Test
shell: bash -l {0}
run: |
# We don't install sage_setup, so don't try to test it
rm -R ./src/sage_setup/
./sage -t --all -p4 --format github

- name: Upload log
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ __pycache__/
**/*.py[cod]
*$py.class

# Generated by sage_setup.autogen
# Generated by autogen
/src/sage/ext/interpreters
!/src/sage/ext/interpreters/meson.build
!/src/sage/ext/interpreters/README
Expand Down
2 changes: 1 addition & 1 deletion pkgs/sage-setup/README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sage-setup: Build system of the SageMath library
================================================

This is the build system of the Sage library, based on setuptools.
This is the old build system of the Sage library, based on setuptools.
2 changes: 1 addition & 1 deletion pkgs/sage-setup/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sage-setup"
description = "Sage: Open Source Mathematics Software: Build system of the Sage library"
description = "Sage: Open Source Mathematics Software: Old build system of the Sage library"
license = {text = "GNU General Public License (GPL) v2 or later"}
authors = [{name = "The Sage Developers", email = "[email protected]"}]
classifiers = [
Expand Down
1 change: 0 additions & 1 deletion pkgs/sage-setup/sage_setup

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions pkgs/sage-setup/sage_setup/autogen
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions src/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ prune sage/ext/interpreters # In particular, __init__.py must not be present i
prune sage_docbuild
prune doc

# include sage_setup
recursive-include sage_setup *
prune sage_setup/autogen/flint*
exclude sage_setup/autogen/flint*
exclude sage_setup/autogen/giacpy*

#
# Most C and C++ files are generated by Cython and should not
# be included in the sdist.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ autogeneration
5. Set the environment variable `FLINT_GIT_DIR`

6. Run the `flint_autogen.py` script e.g. `python
$SAGE_ROOT/src/sage_setup/autogen/flint_autogen.py`. The script writes down
$SAGE_ROOT/src/autogen/flint_autogen.py`. The script writes down
the headers in the sage source tree `$SAGE_ROOT/src/sage/libs/flint/`


Expand All @@ -31,5 +31,5 @@ Additional notes
- macros in flint documentation are not converted into cython declarations
(because they lack a signature). The cython signature of flint macros must be
manually written down in the files contained
`SAGE_SRC/sage/src/sage_setup/autogen/flint/macros`
`SAGE_SRC/sage/src/autogen/flint/macros`
See https://github.com/flintlib/flint/issues/1529.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# distutils: extra_compile_args = -D_XPG6

# WARNING: src/sage/libs/flint/flint_sage.pyx is generated from
# src/sage_setup/autogen/flint/templates/flint_sage.pyx.template;
# src/autogen/flint/templates/flint_sage.pyx.template;
# please make sure that you are modifying the correct file!
"""
Flint imports
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* WARNING: src/sage/libs/flint/flint_wrap.h is generated from
* src/sage_setup/autogen/flint/templates/flint_wrap.h.template
* src/autogen/flint/templates/flint_wrap.h.template
* please make sure that you are modifying the correct file! */

#ifndef SAGE_FLINT_WRAP_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# distutils: depends = {HEADER_LIST}

# WARNING: src/sage/libs/flint/types.pxd is generated from
# src/sage_setup/autogen/flint/templates/types.pxd.template
# src/autogen/flint/templates/types.pxd.template
# please make sure that you are modifying the correct file!
"""
Declarations for FLINT types
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/sage/ext/interpreters/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ interpreters = custom_target(
'interp_rr.c',
'__init__.py',
],
input: '../../../sage_setup/autogen/interpreters/internal/__init__.py',
command: ['../../../sage_setup/autogen/interpreters/__main__.py', '@OUTDIR@'],
input: '../../../autogen/interpreters/internal/__init__.py',
command: ['../../../autogen/interpreters/__main__.py', '@OUTDIR@'],
# Manually install the generated files instead of using install_sources
# this is a workaround for https://github.com/mesonbuild/meson/issues/7372
install: true,
Expand Down
Loading