Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ build/bin/sage-build-env-config
/pkgs/sagemath-categories/pyproject.toml
/pkgs/sagemath-environment/pyproject.toml
/pkgs/sagemath-repl/pyproject.toml
/pkgs/sagemath-standard/pyproject.toml
/pkgs/sagemath-objects/requirements.txt
/pkgs/sagemath-bliss/requirements.txt
/pkgs/sagemath-coxeter3/requirements.txt
Expand Down
1 change: 1 addition & 0 deletions pkgs/sagemath-standard/pyproject-monolithic.toml.m4
1 change: 0 additions & 1 deletion pkgs/sagemath-standard/pyproject.toml.m4

This file was deleted.

30 changes: 30 additions & 0 deletions pkgs/sagemath-standard/pyproject.toml.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"sage_setup[autogen]",
# Some version of sage-conf is required.
# Note that PEP517/518 have no notion of optional sage_spkg dependencies:
# https://github.com/pypa/pip/issues/6144
esyscmd(`sage-get-system-packages install-requires-toml \
sage_conf \
setuptools \
wheel \
sage_setup \
sagemath_environment \
cypari \
cysignals \
cython \
gmpy2 \
jinja2 \
jupyter_core \
numpy \
pkgconfig \
pplpy \
memory_allocator \
')]
build-backend = "setuptools.build_meta"

[tool.conda-lock]
platforms = [
'osx-64', 'linux-64', 'linux-aarch64', 'osx-arm64'
]
3 changes: 0 additions & 3 deletions pkgs/sagemath-standard/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
### Set source directory
#########################################################

# PEP 517 builds do not have . in sys.path
sys.path.insert(0, os.path.dirname(__file__))

import sage.env
sage.env.SAGE_SRC = os.getcwd()
from sage.env import *
Expand Down
2 changes: 2 additions & 0 deletions src/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ prune sage_setup
prune sage_docbuild
prune doc

exclude pyproject-monolithic*

#
# Most C and C++ files are generated by Cython and should not
# be included in the sdist.
Expand Down