nixpkgs/pkgs/development/interpreters/python
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
..
catch_conflicts pythonCatchConflictsHook: avoid infinite recursion 2024-02-25 11:54:07 +01:00
conda
cpython Merge staging-next into staging 2024-03-23 12:01:37 +00:00
hooks python/hooks/setuptools-build-hook.sh: use --parallel flag only for fresh setuptools 2024-03-25 13:18:45 +01:00
manylinux Merge pull request #196802 from jneem/manylinux 2023-07-02 23:23:55 +02:00
pypy Merge pull request #297628 from cwp/python-env-venv 2024-03-22 19:17:13 +07:00
python2 Revert "python2/mk-python-derivation: disable catchConflictsHook" 2023-11-18 12:58:15 +01:00
rustpython rustpython: mark broken on x86_64-darwin 2023-11-22 19:20:39 +01:00
tests Fix venv creation in Python environments 2024-03-21 19:26:57 -06:00
update-python-libraries update-python-libraries: support applications outside python-modules 2024-01-10 15:01:54 +01:00
default.nix Merge staging-next into staging 2024-03-22 06:01:35 +00:00
mk-python-derivation.nix mk-python-derivation: Add build-system argument 2024-02-18 17:40:42 +13:00
passthrufun.nix python: deprecate pythonForBuild in favor of pythonOnBuildForHost 2023-11-07 02:28:58 +02:00
python-packages-base.nix python311Packages.recursive-pth-loader: rename from recursivePthLoader 2024-01-25 22:13:17 +01:00
run_setup.py
setup-hook.nix
setup-hook.sh
tests.nix Fix venv creation in Python environments 2024-03-21 19:26:57 -06:00
with-packages.nix
wrap-python.nix treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
wrap.sh
wrapper.nix Unwrap python scripts when building an environment 2024-03-21 19:27:06 -06:00