Skip to content

Commit ccfe52f

Browse files
committed
Remove references to removed files
1 parent e81756c commit ccfe52f

File tree

4 files changed

+13
-17
lines changed

4 files changed

+13
-17
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ bootstrap-clean:
175175
rm -f src/doc/en/installation/*.txt
176176
find src/doc/en/reference/spkg -maxdepth 1 -name index.rst -prune -o -name "*.rst" -exec rm -f {} \+
177177
for a in environment environment-optional src/environment src/environment-optional; do rm -f $$a.yml $$a-3.[89].yml $$a-3.1[0-9].yml; done
178-
rm -f src/requirements.txt
179-
rm -f src/setup.cfg
180178
rm -f build/pkgs/cypari/version_requirements.txt
181179
rm -f build/pkgs/cysignals/version_requirements.txt
182180
rm -f build/pkgs/cython/version_requirements.txt

bootstrap

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bootstrap () {
3939
if [ "${BOOTSTRAP_QUIET}" = "no" ]; then
4040
echo "bootstrap:$LINENO: installing '"$target"'"
4141
fi
42-
echo "# Generated by SAGE_ROOT/bootstrap based on src/pyproject.toml; do not edit directly" > $target
42+
echo "# Generated by SAGE_ROOT/bootstrap based on pyproject.toml; do not edit directly" > $target
4343
sage-get-system-packages install-requires ${pkgname} >> $target
4444
done
4545
for a in m4/sage_spkg_configures.m4 m4/sage_spkg_versions.m4 m4/sage_spkg_versions_toml.m4; do
@@ -228,16 +228,14 @@ save () {
228228
src/doc/en/installation/*.txt \
229229
$(find src/doc/en/reference/spkg -maxdepth 1 -name index.rst -prune -o -name "*.rst" -print) \
230230
environment-3.1[0-9]-*.yml \
231-
src/pyproject.toml \
232-
src/requirements.txt \
233-
src/setup.cfg \
231+
pyproject.toml \
234232
build/pkgs/cypari/version_requirements.txt \
235233
build/pkgs/cysignals/version_requirements.txt \
236234
build/pkgs/cython/version_requirements.txt \
237235
build/pkgs/gmpy2/version_requirements.txt \
238236
build/pkgs/jupyter_core/version_requirements.txt \
239237
build/pkgs/memory_allocator/version_requirements.txt \
240-
build/pkgs/meson/version_requirements.txt \
238+
build/pkgs/meson/version_requirements.txt \
241239
build/pkgs/numpy/version_requirements.txt \
242240
build/pkgs/pkgconfig/version_requirements.txt \
243241
build/pkgs/pplpy/version_requirements.txt \

build/bin/sage-get-system-packages

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ fi
1414

1515
case "$SYSTEM" in
1616
install-requires)
17-
# Collect from src/pyproject.toml or from version_requirements.txt (falling back to requirements.txt) and output it in the format
17+
# Collect from pyproject.toml or from version_requirements.txt (falling back to requirements.txt) and output it in the format
1818
# needed by setup.cfg [options] install_requires=
19-
SYSTEM_PACKAGES_FILE_NAMES="src/pyproject.toml version_requirements.txt requirements.txt"
19+
SYSTEM_PACKAGES_FILE_NAMES="pyproject.toml version_requirements.txt requirements.txt"
2020
# also normalizes quotes from "" to ''.
2121
STRIP_COMMENTS="sed s/#.*//;/^[[:space:]]*$/d;s/\"/'/g;"
2222
COLLECT=
2323
;;
2424
install-requires-toml)
25-
# Collect from src/pyproject.toml or from version_requirements.txt (falling back to requirements.txt) and output it in the format
25+
# Collect from pyproject.toml or from version_requirements.txt (falling back to requirements.txt) and output it in the format
2626
# needed by pyproject.toml [build-system] requires=
27-
SYSTEM_PACKAGES_FILE_NAMES="src/pyproject.toml version_requirements.txt requirements.txt"
27+
SYSTEM_PACKAGES_FILE_NAMES="pyproject.toml version_requirements.txt requirements.txt"
2828
# also normalizes quotes from '' to "".
2929
STRIP_COMMENTS="sed s/#.*//;/^[[:space:]]*$/d;s/'/\"/g;s/^/'/;s/$/',/;"
3030
COLLECT=
3131
;;
3232
pip)
33-
SYSTEM_PACKAGES_FILE_NAMES="requirements.txt src/pyproject.toml version_requirements.txt"
33+
SYSTEM_PACKAGES_FILE_NAMES="requirements.txt pyproject.toml version_requirements.txt"
3434
STRIP_COMMENTS='sed s/#.*//;s/[[:space:]]//g;'
3535
COLLECT=echo
3636
;;
3737
versions)
3838
# For use in sage-spkg-info
39-
SYSTEM_PACKAGES_FILE_NAMES="package-version.txt requirements.txt src/pyproject.toml version_requirements.txt"
39+
SYSTEM_PACKAGES_FILE_NAMES="package-version.txt requirements.txt pyproject.toml version_requirements.txt"
4040
strip_comments () {
4141
TEXT=$(sed "s/#.*//;/^[[:space:]]*$/d;s/\"/'/g;s/^/ /;" "$@")
4242
if [ -n "$(echo $TEXT)" ]; then
@@ -101,9 +101,9 @@ for PKG_BASE in $SPKGS; do
101101
*pyproject.toml)
102102
SYSTEM_PACKAGES_FILE="$SAGE_ROOT"/$NAME
103103
if [ -f "$SYSTEM_PACKAGES_FILE" ]; then
104-
# Extract from the "requires" block in src/pyproject.toml
104+
# Extract from the "requires" block in pyproject.toml
105105
# Packages are in the format "'sage-conf ~= 10.3b3',"
106-
PACKAGE_INFO=$(sed -n '/requires *= *\[/,/^\]/s/^ *'\''\('$PKG_BASE'.*\)'\'',/\1/p' "$SAGE_ROOT/src/pyproject.toml")
106+
PACKAGE_INFO=$(sed -n '/requires *= *\[/,/^\]/s/^ *'\''\('$PKG_BASE'.*\)'\'',/\1/p' "$SAGE_ROOT/pyproject.toml")
107107
if [ -n "$PACKAGE_INFO" ]; then
108108
echo "$PACKAGE_INFO" | ${STRIP_COMMENTS}
109109
[ $SYSTEM = versions ] || break

m4/sage_python_package_check.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Determine if the system copy of a python package can be used by sage.
99
#
1010
# This macro uses setuptools.version's pkg_resources to check that the
11-
# "version_requirements.txt" file (or entry in "src/pyproject.toml") for
11+
# "version_requirements.txt" file (or entry in "pyproject.toml") for
1212
# the named package is satisfied, and it can typically fail in four ways:
1313
#
1414
# 1. If --enable-system-site-packages was not passed to ./configure,
@@ -20,7 +20,7 @@
2020
# 4. If setuptools is not available to the system python,
2121
#
2222
# 5. If the contents of version_requirements.txt (or entry in
23-
# "src/pyproject.toml") are not met (wrong version, no version,
23+
# "pyproject.toml") are not met (wrong version, no version,
2424
# etc.) by the system python.
2525
#
2626
# In any of those cases, we set sage_spkg_install_$package to "yes"

0 commit comments

Comments
 (0)