Message386758
| 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... |
|