mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
GH-131372: only install build-details.json in the main install (#142269)
* GH-131372: only install build-details.json in the main install Signed-off-by: Filipe Laíns <lains@riseup.net> * Add news Signed-off-by: Filipe Laíns <lains@riseup.net> --------- Signed-off-by: Filipe Laíns <lains@riseup.net>
This commit is contained in:
parent
02c085d48b
commit
bcb6cbdf3b
2 changed files with 4 additions and 1 deletions
|
|
@ -2374,8 +2374,10 @@ multissltest: all
|
|||
# prevent race conditions with PGO builds. PGO builds use recursive make,
|
||||
# which can lead to two parallel `./python setup.py build` processes that
|
||||
# step on each others toes.
|
||||
# Only the main install gets a build-details.json.
|
||||
.PHONY: install
|
||||
install: @FRAMEWORKINSTALLFIRST@ @INSTALLTARGETS@ @FRAMEWORKINSTALLLAST@
|
||||
$(INSTALL_DATA) `cat pybuilddir.txt`/build-details.json $(DESTDIR)$(LIBDEST); \
|
||||
if test "x$(ENSUREPIP)" != "xno" ; then \
|
||||
case $(ENSUREPIP) in \
|
||||
upgrade) ensurepip="--upgrade" ;; \
|
||||
|
|
@ -2828,7 +2830,6 @@ libinstall: all $(srcdir)/Modules/xxmodule.c
|
|||
done
|
||||
$(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py $(DESTDIR)$(LIBDEST); \
|
||||
$(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfig_vars_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).json $(DESTDIR)$(LIBDEST); \
|
||||
$(INSTALL_DATA) `cat pybuilddir.txt`/build-details.json $(DESTDIR)$(LIBDEST); \
|
||||
$(INSTALL_DATA) `cat pybuilddir.txt`/_missing_stdlib_info.py $(DESTDIR)$(LIBDEST); \
|
||||
$(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
|
||||
@ # If app store compliance has been configured, apply the patch to the
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
``build-details.py`` will only be installed as part of the main install
|
||||
(``make install``). ``make altinstall`` will no longer include it.
|
||||
Loading…
Add table
Add a link
Reference in a new issue