BUG: Fix `setup.py build install egg_info`, which did not previously build
BUG: Fix `setup.py build install egg_info`, which did not previously build

Fixes numpy/numpy#10646

The original intent was to disable builds when _only_ the egg_info target is requested, not whenever it is one of the targets.

Cherry-picked from numpy/numpy@b8b2a0e1637d8bacdf5858a9f1ab78b0e31a052f

vigna/scipy,scipy/scipy,ilayn/scipy,gfyoung/scipy,rgommers/scipy,Eric89GXL/scipy,lhilt/scipy,WarrenWeckesser/scipy,pizzathief/scipy,zerothi/scipy,grlee77/scipy,e-q/scipy,vigna/scipy,scipy/scipy,Eric89GXL/scipy,jor-/scipy,Eric89GXL/scipy,nmayorov/scipy,jamestwebber/scipy,andyfaff/scipy,Stefan-Endres/scipy,endolith/scipy,endolith/scipy,person142/scipy,rgommers/scipy,Eric89GXL/scipy,matthew-brett/scipy,mdhaber/scipy,pizzathief/scipy,vigna/scipy,zerothi/scipy,Stefan-Endres/scipy,lhilt/scipy,perimosocordiae/scipy,arokem/scipy,mdhaber/scipy,scipy/scipy,tylerjereddy/scipy,perimosocordiae/scipy,aeklant/scipy,anntzer/scipy,anntzer/scipy,vigna/scipy,mdhaber/scipy,Eric89GXL/scipy,anntzer/scipy,e-q/scipy,Eric89GXL/scipy,jor-/scipy,gfyoung/scipy,arokem/scipy,gertingold/scipy,jor-/scipy,jamestwebber/scipy,WarrenWeckesser/scipy,gertingold/scipy,jamestwebber/scipy,person142/scipy,rgommers/scipy,gfyoung/scipy,scipy/scipy,person142/scipy,andyfaff/scipy,endolith/scipy,aeklant/scipy,aeklant/scipy,nmayorov/scipy,person142/scipy,grlee77/scipy,jamestwebber/scipy,arokem/scipy,Stefan-Endres/scipy,andyfaff/scipy,perimosocordiae/scipy,mdhaber/scipy,anntzer/scipy,pizzathief/scipy,arokem/scipy,anntzer/scipy,matthew-brett/scipy,nmayorov/scipy,aarchiba/scipy,aarchiba/scipy,pizzathief/scipy,zerothi/scipy,pizzathief/scipy,e-q/scipy,lhilt/scipy,nmayorov/scipy,tylerjereddy/scipy,ilayn/scipy,vigna/scipy,andyfaff/scipy,WarrenWeckesser/scipy,grlee77/scipy,zerothi/scipy,matthew-brett/scipy,aeklant/scipy,e-q/scipy,lhilt/scipy,gfyoung/scipy,perimosocordiae/scipy,tylerjereddy/scipy,perimosocordiae/scipy,ilayn/scipy,Stefan-Endres/scipy,WarrenWeckesser/scipy,gertingold/scipy,Stefan-Endres/scipy,person142/scipy,aarchiba/scipy,ilayn/scipy,anntzer/scipy,jor-/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,matthew-brett/scipy,mdhaber/scipy,endolith/scipy,matthew-brett/scipy,jor-/scipy,zerothi/scipy,scipy/scipy,aarchiba/scipy,gertingold/scipy,gfyoung/scipy,andyfaff/scipy,rgommers/scipy,grlee77/scipy,perimosocordiae/scipy,endolith/scipy,zerothi/scipy,grlee77/scipy,aarchiba/scipy,WarrenWeckesser/scipy,aeklant/scipy,jamestwebber/scipy,lhilt/scipy,ilayn/scipy,mdhaber/scipy,tylerjereddy/scipy,ilayn/scipy,tylerjereddy/scipy,andyfaff/scipy,e-q/scipy,nmayorov/scipy,rgommers/scipy,scipy/scipy,gertingold/scipy,endolith/scipy,arokem/scipy