nixpkgs/pkgs/development/interpreters/python/hooks
Sergei Trofimovich 187ac583a0
python/hooks/setuptools-build-hook.sh: use --parallel flag only for fresh setuptools
Without the change attempt to enable parallelist for `python2` packages
fails with unsupported `--parallel` flag for `setuptools`-based
packages:

    $ nix build --no-link -f. --arg config '{enableParallelBuildingByDefault = true;}' xdg-utils
    error: builder for '/nix/store/...-python2.7-setuptools-44.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Executing setuptoolsBuildPhase
       > usage: nix_run_setup [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       >    or: nix_run_setup --help [cmd1 cmd2 ...]
       >    or: nix_run_setup --help-commands
       >    or: nix_run_setup cmd --help
       >
       > error: option --parallel not recognized
2024-03-25 13:18:45 +01:00
..
conda-install-hook.sh
conda-unpack-hook.sh
default.nix python/hooks/setuptools-build-hook.sh: use --parallel flag only for fresh setuptools 2024-03-25 13:18:45 +01:00
egg-build-hook.sh
egg-install-hook.sh
egg-unpack-hook.sh
pip-build-hook.sh
pip-install-hook.sh
pypa-build-hook-test.nix treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
pypa-build-hook.sh python3.pkgs.pypaBuildHook: fix conflicts 2023-09-12 21:04:26 +02:00
pypa-install-hook.sh pypaInstallHook: enter "dist" directory before installing (#250464) 2023-08-21 08:45:47 +02:00
pytest-check-hook.sh
python-catch-conflicts-hook-tests.nix pythonCatchConflictsHook: test cyclic dependency 2024-02-25 11:54:49 +01:00
python-catch-conflicts-hook.sh
python-imports-check-hook.sh
python-namespaces-hook.sh
python-output-dist-hook.sh
python-recompile-bytecode-hook.sh
python-relax-deps-hook.sh pythonRelaxDepsHook: don't rely on pname as that could be normalized already 2024-03-15 11:27:27 +01:00
python-remove-bin-bytecode-hook.sh
python-remove-tests-dir-hook.sh
python-runtime-deps-check-hook.py python311Packages.packaging: 23.2 -> 24.0 2024-03-22 16:34:52 +01:00
python-runtime-deps-check-hook.sh python3.pkgs.pythonRuntimeDepsCheckHook: init 2023-12-20 20:10:22 +01:00
setuptools-build-hook.sh python/hooks/setuptools-build-hook.sh: use --parallel flag only for fresh setuptools 2024-03-25 13:18:45 +01:00
setuptools-check-hook.sh
setuptools-rust-hook.sh
sphinx-hook.sh python3Packages.sphinxHook: Avoid propagating sphinx 2023-09-30 18:21:18 +02:00
unittest-check-hook.sh
venv-shell-hook.sh
wheel-unpack-hook.sh