Skip to content

Commit a9d89e7

Browse files
authored
Merge branch 'pr/tornaria/37287' into conda-update
2 parents 4afc299 + e280cba commit a9d89e7

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.devcontainer/onCreate-conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ conda init bash
99
# Build sage
1010
conda run -n sage-dev ./bootstrap
1111
conda run -n sage-dev ./configure --with-python=/opt/conda/envs/sage-dev/bin/python --prefix=/opt/conda/envs/sage-dev
12-
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./pkgs/sage-conf ./pkgs/sage-setup
12+
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./pkgs/sage-conf
1313
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./src

.github/workflows/ci-conda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
shell: bash -l {0}
7777
run: |
7878
# Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda.
79-
pip install --no-build-isolation --no-deps -v -v -e ./pkgs/sage-setup
80-
pip install --no-build-isolation --no-deps -v -v -e ./src
79+
pip install --no-build-isolation --no-deps -v -v -e ./pkgs/sage-conf
80+
pip install --no-build-isolation --no-deps --config-settings editable_mode=compat -v -v -e ./src
8181
env:
8282
SAGE_NUM_THREADS: 2
8383

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tasks:
1212
&& conda activate $(pwd)/venv
1313
&& ./bootstrap
1414
&& ./configure --enable-build-as-root --with-python=$CONDA_PREFIX/bin/python --prefix=$CONDA_PREFIX
15-
&& pip install --no-build-isolation -v -v -e ./pkgs/sage-conf ./pkgs/sage-setup
15+
&& pip install --no-build-isolation -v -v -e ./pkgs/sage-conf
1616
&& pip install --no-build-isolation -v -v -e ./src
1717
# Activate conda environment, set up Trac remote
1818
# RestructuredText extension recommends python extension, although we have already installed it

pkgs/sagemath-standard/sage_setup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../src/sage_setup

src/MANIFEST.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ include VERSION.txt
33
global-include *.pxi *.pxd *.h *.hpp
44

55
prune sage/ext/interpreters # In particular, __init__.py must not be present in the distribution; or sage_setup.autogen.interpreters.rebuild will not generate the code
6-
prune sage_setup
76
prune sage_docbuild
87
prune doc
98

9+
# include sage_setup
10+
recursive-include sage_setup *
11+
prune sage_setup/autogen/flint*
12+
exclude sage_setup/autogen/flint*
13+
exclude sage_setup/autogen/giacpy*
14+
1015
#
1116
# Most C and C++ files are generated by Cython and should not
1217
# be included in the sdist.

src/doc/en/installation/conda.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Here we assume that you are using a git checkout.
131131
- Bootstrap the source tree and install the build prerequisites and the Sage library::
132132

133133
$ ./bootstrap
134-
$ pip install --no-build-isolation -v -v --editable ./pkgs/sage-conf_conda ./pkgs/sage-setup
134+
$ pip install --no-build-isolation -v -v --editable ./pkgs/sage-conf_conda
135135
$ pip install --no-build-isolation --config-settings editable_mode=compat -v -v --editable ./src
136136

137137
- Verify that Sage has been installed::

src/pyproject.toml.m4

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
[build-system]
22
# Minimum requirements for the build system to execute.
33
requires = [
4-
"sage_setup[autogen]",
54
# Some version of sage-conf is required.
65
# Note that PEP517/518 have no notion of optional sage_spkg dependencies:
76
# https://github.com/pypa/pip/issues/6144
87
esyscmd(`sage-get-system-packages install-requires-toml \
98
sage_conf \
109
setuptools \
1110
wheel \
12-
sage_setup \
1311
cypari \
1412
cysignals \
1513
cython \

0 commit comments

Comments
 (0)