DOC: update ufunc tutorials to use setuptools by JuliaPoo · Pull Request #26566 · numpy/numpy

@charris

Backports of numpy#26504, numpy#26517, and numpy#26566.

[skip azp] [skip azure] [skip cirrus]

commit e9fca3ee60006969d0e2c18b9e04f6a0fe6f6bc8
Author: Jules <57632293+JuliaPoo@users.noreply.github.com>
Date:   Thu May 30 20:27:28 2024 +0800

    DOC: update ufunc tutorials to use setuptools (numpy#26566)

    * DOC: update ufunc tutorials to use setuptools

    See numpy#22027. Currently ufunc tutorials use depreciated distutils
    which is removed in Python 3.12. In addition, I've updated the
    sample output and fixed a mistake in the last example.

commit 04cb2596fbce4a12dc88c3200b8940764c1d1711
Author: Mateusz Sokół <mat646@gmail.com>
Date:   Fri May 24 11:12:38 2024 +0200

    Add np.alltrue to migration guide [skip actions] [skip azp] [skip cirrus]

commit d05bce7388b96aaf8a3ac557228ea8cfb13daffe
Author: warren <warren.weckesser@gmail.com>
Date:   Wed May 22 14:31:45 2024 -0400

    DOC: Copy-edit numpy 2.0 migration guide.

    Fix a few typos and do a touch of copy-editing.

    [skip actions] [skip azp] [skip cirrus]