Prevented pip from complaining about root

This commit is contained in:
Alexander Hill
2025-07-23 22:01:46 -04:00
parent 82d185aee2
commit cf61e69bcd
2 changed files with 19 additions and 20 deletions

View File

@@ -141,9 +141,8 @@ While it may sound too good to be true, that's because it is. Maple Linux does n
Maple Linux uses a slightly different filesystem hierarchy compared to most Linux systems, but it shouldn't be enough to become incompatible with existing software. The following are the notable changes: Maple Linux uses a slightly different filesystem hierarchy compared to most Linux systems, but it shouldn't be enough to become incompatible with existing software. The following are the notable changes:
- `/bin` - This is the canonical location for all system-level binaries. Paths such as `/usr/bin` should be considered legacy. See also: https://lists.busybox.net/pipermail/busybox/2010-December/074114.html - `/bin` - This is the canonical location for all system-level binaries. Paths such as `/sbin`, `/usr/bin`, and `/usr/sbin` should be considered legacy. See also: https://lists.busybox.net/pipermail/busybox/2010-December/074114.html
- `/boot` - This is the mount point for the EFI System Partition - `/boot` - This is the mount point for the EFI System Partition
- `/lib` - This is the canonical location for all system-level libraries. Paths such as `/usr/lib` should be considered legacy. - `/lib` - This is the canonical location for all system-level libraries. Paths such as `/usr/lib` should be considered legacy.
- `/sbin` - This is the canonical location for all system-level binaries that require superuser privileges to run. Paths such as `/usr/sbin` should be considered legacy.
Many of alternative paths are symlinked for compatibility's sake. Many of alternative paths are symlinked for compatibility's sake.

View File

@@ -1048,7 +1048,7 @@ cd ..
# NOTE: Required to build Packaging # NOTE: Required to build Packaging
tar xf ../sources/flit_core-*.tar* tar xf ../sources/flit_core-*.tar*
cd flit_core-*/ cd flit_core-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Packaging Build # Packaging Build
@@ -1058,28 +1058,28 @@ cd ..
# See also: https://pip.pypa.io/en/latest/reference/build-system/pyproject-toml/#disabling-build-isolation # See also: https://pip.pypa.io/en/latest/reference/build-system/pyproject-toml/#disabling-build-isolation
tar xf ../sources/packaging-*.tar* tar xf ../sources/packaging-*.tar*
cd packaging-*/ cd packaging-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Tomli Build # Tomli Build
# NOTE: Required by Build # NOTE: Required by Build
tar xf ../sources/tomli-*.tar* tar xf ../sources/tomli-*.tar*
cd tomli-*/ cd tomli-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Pyproject Hooks Build # Pyproject Hooks Build
# NOTE: Required by Build # NOTE: Required by Build
tar xf ../sources/pyproject_hooks-*.tar* tar xf ../sources/pyproject_hooks-*.tar*
cd pyproject_hooks-*/ cd pyproject_hooks-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Wheel Build # Wheel Build
# NOTE: Required by ImportLib Metadata # NOTE: Required by ImportLib Metadata
tar xf ../sources/wheel-*.tar* tar xf ../sources/wheel-*.tar*
cd wheel-*/ cd wheel-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# SetupTools Build # SetupTools Build
@@ -1087,21 +1087,21 @@ cd ..
# UNKNOWN egg if this isn't installed. ~ahill # UNKNOWN egg if this isn't installed. ~ahill
tar xf ../sources/setuptools-*.tar* tar xf ../sources/setuptools-*.tar*
cd setuptools-*/ cd setuptools-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Typing Extensions Build # Typing Extensions Build
# NOTE: Required by SetupTools SCM # NOTE: Required by SetupTools SCM
tar xf ../sources/typing_extensions-*.tar* tar xf ../sources/typing_extensions-*.tar*
cd typing_extensions-*/ cd typing_extensions-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Zipp Build # Zipp Build
# NOTE: Required by ImportLib Metadata # NOTE: Required by ImportLib Metadata
tar xf ../sources/zipp-*.tar* tar xf ../sources/zipp-*.tar*
cd zipp-*/ cd zipp-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
# NOTE: For some reason, Zipp, which is a dependency of ImportLib Metadata, # NOTE: For some reason, Zipp, which is a dependency of ImportLib Metadata,
# requires SetupTools SCM to properly version the module. This doesn't # requires SetupTools SCM to properly version the module. This doesn't
# sound too bad until you realize that ImportLib Metadata is a dependency # sound too bad until you realize that ImportLib Metadata is a dependency
@@ -1124,7 +1124,7 @@ cd ..
# NOTE: Required by Build # NOTE: Required by Build
tar xf ../sources/importlib_metadata-*.tar* tar xf ../sources/importlib_metadata-*.tar*
cd importlib_metadata-*/ cd importlib_metadata-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
# NOTE: Applying the same hack from Zipp to ImportLib Metadata because both rely # NOTE: Applying the same hack from Zipp to ImportLib Metadata because both rely
# on SetupTools SCM, which we can't install due to a circular dependency. # on SetupTools SCM, which we can't install due to a circular dependency.
IMPORTLIB_METADATA_VERSION=$(pwd | cut -d"-" -f2) IMPORTLIB_METADATA_VERSION=$(pwd | cut -d"-" -f2)
@@ -1142,7 +1142,7 @@ cd ..
# this point. This is just here for future-proofing. ~ahill # this point. This is just here for future-proofing. ~ahill
tar xf ../sources/setuptools_scm-*.tar* tar xf ../sources/setuptools_scm-*.tar*
cd setuptools_scm-*/ cd setuptools_scm-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# "Build" Build # "Build" Build
@@ -1150,56 +1150,56 @@ cd ..
# NOTE: Required by MarkupSafe # NOTE: Required by MarkupSafe
tar xf ../sources/build-*.tar* tar xf ../sources/build-*.tar*
cd build-*/ cd build-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# MarkupSafe Build # MarkupSafe Build
# NOTE: Required by Mako # NOTE: Required by Mako
tar xf ../sources/markupsafe-*.tar* tar xf ../sources/markupsafe-*.tar*
cd markupsafe-*/ cd markupsafe-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Babel Build # Babel Build
# NOTE: Required by Mako # NOTE: Required by Mako
tar xf ../sources/babel-*.tar* tar xf ../sources/babel-*.tar*
cd babel-*/ cd babel-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Click Build # Click Build
# NOTE: Required by Lingua # NOTE: Required by Lingua
tar xf ../sources/click-*.tar* tar xf ../sources/click-*.tar*
cd click-*/ cd click-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Polib Build # Polib Build
# NOTE: Required by Lingua # NOTE: Required by Lingua
tar xf ../sources/polib-*.tar* tar xf ../sources/polib-*.tar*
cd polib-*/ cd polib-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Lingua Build # Lingua Build
# NOTE: Required by Mako # NOTE: Required by Mako
tar xf ../sources/lingua-*.tar* tar xf ../sources/lingua-*.tar*
cd lingua-*/ cd lingua-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# Mako Build # Mako Build
# NOTE: This is a Python library that is required to build Mesa. ~ahill # NOTE: This is a Python library that is required to build Mesa. ~ahill
tar xf ../sources/mako-*.tar* tar xf ../sources/mako-*.tar*
cd mako-*/ cd mako-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# PyYAML Build # PyYAML Build
# NOTE: Another Python library for Mesa. ~ahill # NOTE: Another Python library for Mesa. ~ahill
tar xf ../sources/pyyaml-*.tar* tar xf ../sources/pyyaml-*.tar*
cd pyyaml-*/ cd pyyaml-*/
python3 -m pip install --no-build-isolation . python3 -m pip install --no-build-isolation --root-user-action=ignore .
cd .. cd ..
# libpciaccess Build # libpciaccess Build