[issue43282] Add split install targets to install tests separately from lib

Eli Schwartz report at bugs.python.org
Sat Feb 20 23:49:05 EST 2021


New submission from Eli Schwartz <eschwartz93 at gmail.com>:

cf. https://bugs.python.org/issue27640#msg386758

Carrying on from the addition of --disable-test-modules, I would find it convenient to be able to still provide the tests, but install them separately. The end result would be two distro packages, one slim package that does not include the test modules by default, and one package that adds in the test modules for people that need it.

This is currently possible via running the install step twice and some hacky shell globbing to delete unneeded files from each install.

Some sort of libinstall/testinstall target split target would be less hacky, and not require checking if the list of test modules is up to date. So I'd consider it nice to have. :)

----------
components: Build
messages: 387438
nosy: eschwartz
priority: normal
severity: normal
status: open
title: Add split install targets to install tests separately from lib
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43282>
_______________________________________


More information about the Python-bugs-list mailing list