This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eschwartz
Recipients Alex.Willmer, doko, edmorley, eschwartz, martin.panter, pxinwr, thomas-petazzoni, vstinner
Date 2021-02-10.03:50:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612929008.16.0.715231682652.issue27640@roundup.psfhosted.org>
In-reply-to
Content
I have a slightly different interest in declining to install tests... Arch Linux provides the tests as a split subpackage with currently some hacky shell globbing to delete the tests after make install, then do a second libinstall and delete everything but the tests.

It would be more convenient if we had a Makefile option to install the tests separately.

It's now possible to disable installing tests with a filthy hack: make install TEST_MODULES= TESTSUBDIRS=

However, it's not possible to similarly hack make libinstall LIBSUBDIRS=
Because it installs some toplevel stuff, then runs lib2to3.pgen2.driver on the grammar that got skipped by the LIBSUBDIRS= hack.

Thoughts on maybe splitting this up at install time? Would probably mean duplicating some of libinstall as testinstall...
History
Date User Action Args
2021-02-10 03:50:08eschwartzsetrecipients: + eschwartz, doko, vstinner, martin.panter, thomas-petazzoni, edmorley, Alex.Willmer, pxinwr
2021-02-10 03:50:08eschwartzsetmessageid: <1612929008.16.0.715231682652.issue27640@roundup.psfhosted.org>
2021-02-10 03:50:08eschwartzlinkissue27640 messages
2021-02-10 03:50:08eschwartzcreate